diff --git a/CMakeLists.txt b/CMakeLists.txt index 3c0802ff8..694401932 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}") diff --git a/src/tools/trackeditor/CMakeLists.txt b/src/tools/trackeditor/CMakeLists.txt index ed7a5fd7f..8d5eb919d 100644 --- a/src/tools/trackeditor/CMakeLists.txt +++ b/src/tools/trackeditor/CMakeLists.txt @@ -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)