mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-21 02:42:18 +00:00
Upstream git master is already at 3.15 and 3.10 (Windows or else) respectively, the little extra step should be fine. Maybe pass the info on to upstream that it really is fine to depend on a CMake version released in 2019. While a 3.14 release appears to be in the (slow) works, we don't know how long it will really take them. Closes: https://bugs.gentoo.org/964656 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
19 lines
573 B
Diff
19 lines
573 B
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -1,4 +1,4 @@
|
|
-CMAKE_MINIMUM_REQUIRED( VERSION 2.8.2 )
|
|
+CMAKE_MINIMUM_REQUIRED( VERSION 3.16 )
|
|
PROJECT( MegaGlest )
|
|
|
|
#SET(CMAKE_VERBOSE_MAKEFILE ON)
|
|
@@ -14,10 +14,6 @@
|
|
ENDIF()
|
|
SET_PROPERTY(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS None Debug Release RelWithDebInfo MinSizeRel)
|
|
|
|
-IF(NOT CMAKE_VERSION VERSION_LESS "3.1")
|
|
- cmake_policy(SET CMP0054 NEW)
|
|
-ENDIF()
|
|
-
|
|
# add additional CMake modules
|
|
MESSAGE(STATUS "CMAKE_SOURCE_DIR = ${CMAKE_SOURCE_DIR}")
|
|
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/mk/cmake/Modules)
|