diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c0787618..053ca9b8c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,11 +1,4 @@ -cmake_minimum_required(VERSION 3.5) - -# >=3.9 enables IPO; >=3.11 prefers GLVND -if(${CMAKE_VERSION} VERSION_LESS 3.11) - cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}) -else() - cmake_policy(VERSION 3.11) -endif() +cmake_minimum_required(VERSION 3.12) set(IRRLICHTMT_REVISION 13)