diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b56c7c9..370a574a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.12...3.27.4) file(STRINGS src/game/version.h VERSION_LINE LIMIT_COUNT 1 @@ -17,10 +17,6 @@ else() message(FATAL_ERROR "Couldn't parse version from src/game/version.h") endif() -if(POLICY CMP0072) - cmake_policy(SET CMP0072 OLD) -endif() - if(POLICY CMP0091) cmake_policy(SET CMP0091 NEW) endif()