diff --git a/CMakeLists.txt b/CMakeLists.txt index d0d18fc..99ca28d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.10.2) +cmake_minimum_required(VERSION 3.10..99.0) project (saland) # Define install paths @@ -37,6 +37,9 @@ if (WIN32) endif() endif() +if(POLICY CMP0167) + cmake_policy(SET CMP0167 NEW) +endif() find_package(Boost COMPONENTS program_options REQUIRED) # box2d is not API compatible between versions (not even minor versions), so this explicit version must always be used. diff --git a/embedded_libs/PlatformFolders-4.1.0/CMakeLists.txt b/embedded_libs/PlatformFolders-4.1.0/CMakeLists.txt index 0144d7c..2b0df7d 100644 --- a/embedded_libs/PlatformFolders-4.1.0/CMakeLists.txt +++ b/embedded_libs/PlatformFolders-4.1.0/CMakeLists.txt @@ -1,5 +1,5 @@ # For target_compile_features -cmake_minimum_required(VERSION 3.28.0..4.1.0 ) +cmake_minimum_required(VERSION 3.28.0..99.0 ) project(platform_folders VERSION 4.1.0 LANGUAGES CXX) # Since it's off, the library will be static by default diff --git a/embedded_libs/box2d-2.4.1/CMakeLists.txt b/embedded_libs/box2d-2.4.1/CMakeLists.txt index ff2c664..d2ad225 100644 --- a/embedded_libs/box2d-2.4.1/CMakeLists.txt +++ b/embedded_libs/box2d-2.4.1/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.8) +cmake_minimum_required(VERSION 3.10..99.0) # https://cmake.org/cmake/help/latest/command/project.html project(box2d VERSION 2.4.1)