cmake: update to 3.20.0.

This commit is contained in:
Đoàn Trần Công Danh 2021-04-01 20:47:38 +07:00
parent 2709e170ae
commit 392c1eec4d
2 changed files with 15 additions and 2 deletions

View file

@ -0,0 +1,13 @@
diff --git Tests/ConfigSources/CMakeLists.txt Tests/ConfigSources/CMakeLists.txt
index a3d98f685f..84ef26b0fd 100644
--- Tests/ConfigSources/CMakeLists.txt
+++ Tests/ConfigSources/CMakeLists.txt
@@ -75,7 +75,7 @@ add_custom_command(APPEND
)
foreach(n RANGE 1 5)
set_property(SOURCE custom${n}_Debug.cpp PROPERTY COMPILE_DEFINITIONS CUSTOM_CFG_DEBUG)
- foreach(other Release RelWithDebInfo MinSizeRel)
+ foreach(other None Release RelWithDebInfo MinSizeRel)
set_property(SOURCE custom${n}_${other}.cpp PROPERTY COMPILE_DEFINITIONS CUSTOM_CFG_OTHER)
endforeach()
endforeach()

View file

@ -1,6 +1,6 @@
# Template file for 'cmake'
pkgname=cmake
version=3.19.7
version=3.20.0
revision=1
build_style=cmake
configure_args="-DCMAKE_DOC_DIR=/share/doc/cmake -DCMAKE_BUILD_TYPE=None
@ -16,7 +16,7 @@ maintainer="Nathan Owens <ndowens04@gmail.com>"
license="BSD-3-Clause, ICU"
homepage="https://www.cmake.org"
distfiles="https://www.cmake.org/files/v${version%.*}/${pkgname}-${version}.tar.gz"
checksum=58a15f0d56a0afccc3cc5371234fce73fcc6c8f9dbd775d898e510b83175588e
checksum=9c06b2ddf7c337e31d8201f6ebcd3bba86a9a033976a9aee207fe0c6971f4755
export CMAKE_GENERATOR="Unix Makefiles"