From 2bfedd240e820fefd6614c5cdb097cc5611993a8 Mon Sep 17 00:00:00 2001 From: beaglejoe Date: Sat, 28 Oct 2023 21:32:39 +0000 Subject: [PATCH] Fix CMake warning git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9177 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 59426cc4dc59ad452929c0514a2fbcbd0dfda814 Former-commit-id: d84e8e5fe208350a93e072625757a0f15c2c91eb --- CMakeLists.txt | 2 +- src/tools/trackeditor/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3c0802ff8..949dd28f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12 FATAL_ERROR) +CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12...3.27.6 FATAL_ERROR) MESSAGE(STATUS CMAKE_VERSION = "${CMAKE_VERSION}") diff --git a/src/tools/trackeditor/CMakeLists.txt b/src/tools/trackeditor/CMakeLists.txt index d23f4346e..ed7a5fd7f 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 FATAL_ERROR) +CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12...3.27.6 FATAL_ERROR) IF(POLICY CMP0048) CMAKE_POLICY(SET CMP0048 NEW)