Fix CMake warning

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9184 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d767d2e273538fbb3f51cb9632b84462d65a3837
Former-commit-id: 7712f03f8b70b077da09ed4b995b99118a44a36a
This commit is contained in:
beaglejoe 2023-10-29 15:54:29 +00:00
parent 2d9324921b
commit 83565828e5
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)