Fix CMake warning

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9184 30fe4595-0a0c-4342-8851-515496e4dcbd
This commit is contained in:
beaglejoe 2023-10-29 15:54:29 +00:00
parent 47daaa7c37
commit f49119f6a4
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12 FATAL_ERROR)
#CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12 FATAL_ERROR)
CMAKE_MINIMUM_REQUIRED(VERSION 3.5 FATAL_ERROR)
MESSAGE(STATUS CMAKE_VERSION = "${CMAKE_VERSION}")

View File

@ -3,7 +3,7 @@
# building all of SD, set the _STANDALONE flag which is used to skip
# the SD specific calls
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12...3.27.6 FATAL_ERROR)
CMAKE_MINIMUM_REQUIRED(VERSION 3.5 FATAL_ERROR)
IF(POLICY CMP0048)
CMAKE_POLICY(SET CMP0048 NEW)