Don't specify maximum CMake version (even for the policy options) - results in weird empty outputs during build if using CMake newer than 4.0

master
Ansariel 2025-09-05 15:37:55 +02:00
parent b99cf9fb86
commit 806dd91c74
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
## Nicky: Ideally we want at least 3.21 for good preset support
## We're not there yet, but once done, there is a kludge in Linking.cmake
# "if(${CMAKE_VERSION} VERSION_LESS "3.20.0")" that can also be removed
cmake_minimum_required(VERSION 3.16.0...4.0 FATAL_ERROR)
cmake_minimum_required(VERSION 3.16.0 FATAL_ERROR)
cmake_policy(SET CMP0156 NEW)
cmake_policy(SET CMP0179 NEW)