cmake: update to 3.12.0.

This commit is contained in:
maxice8 2018-07-17 16:02:33 -03:00
parent 8a3c337b9b
commit c4ae934b42
2 changed files with 3 additions and 15 deletions

View File

@ -1,12 +0,0 @@
--- Source/Modules/FindLibUV.cmake
+++ Source/Modules/FindLibUV.cmake
@@ -63,6 +63,8 @@ mark_as_advanced(LibUV_INCLUDE_DIR)
set(_LibUV_H_REGEX "#[ \t]*define[ \t]+UV_VERSION_(MAJOR|MINOR|PATCH)[ \t]+[0-9]+")
if(LibUV_INCLUDE_DIR AND EXISTS "${LibUV_INCLUDE_DIR}/uv-version.h")
file(STRINGS "${LibUV_INCLUDE_DIR}/uv-version.h" _LibUV_H REGEX "${_LibUV_H_REGEX}")
+elseif(LibUV_INCLUDE_DIR AND EXISTS "${LibUV_INCLUDE_DIR}/uv/version.h")
+ file(STRINGS "${LibUV_INCLUDE_DIR}/uv/version.h" _LibUV_H REGEX "${_LibUV_H_REGEX}")
elseif(LibUV_INCLUDE_DIR AND EXISTS "${LibUV_INCLUDE_DIR}/uv.h")
file(STRINGS "${LibUV_INCLUDE_DIR}/uv.h" _LibUV_H REGEX "${_LibUV_H_REGEX}")
else()

View File

@ -1,7 +1,7 @@
# Template file for 'cmake'
pkgname=cmake
version=3.11.4
revision=2
version=3.12.0
revision=1
build_style=configure
makedepends="expat-devel libarchive-devel libcurl-devel libuv-devel
ncurses-devel rhash-devel"
@ -10,7 +10,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1-or-later, BSD-3-Clause"
homepage="https://www.cmake.org"
distfiles="https://www.cmake.org/files/v${version%.*}/${pkgname}-${version}.tar.gz"
checksum=8f864e9f78917de3e1483e256270daabc4a321741592c5b36af028e72bff87f5
checksum=d0781a90f6cdb9049d104ac16a150f9350b693498b9dea8a0331e799db6b9d69
make_check_target=test
if [ "$CROSS_BUILD" ]; then