From 806dd91c742fdf078741b32ea8cab8db074fa674 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Fri, 5 Sep 2025 15:37:55 +0200 Subject: [PATCH] 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 --- indra/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/CMakeLists.txt b/indra/CMakeLists.txt index 889145ab79..63ec1b0a60 100644 --- a/indra/CMakeLists.txt +++ b/indra/CMakeLists.txt @@ -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)