diff options
| author | Rye <rye@alchemyviewer.org> | 2025-08-28 06:08:13 -0400 | 
|---|---|---|
| committer | Rye <rye@alchemyviewer.org> | 2025-08-28 06:08:13 -0400 | 
| commit | 2b44464a143c3b32ef4d3de4456b100e34ad79ef (patch) | |
| tree | 43e67d6a56fa066f92918b1e3dc13c4f97ea0500 /indra/CMakeLists.txt | |
| parent | 96ff5f8e70396b53168682c4a1addb9a61d45e7c (diff) | |
Fix up windows build error in GHA
Diffstat (limited to 'indra/CMakeLists.txt')
| -rw-r--r-- | indra/CMakeLists.txt | 8 | 
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/CMakeLists.txt b/indra/CMakeLists.txt index 62f8e0ff8b..455e7980e2 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 FATAL_ERROR) +cmake_minimum_required(VERSION 3.16.0...4.0 FATAL_ERROR)  cmake_policy(SET CMP0156 NEW)  cmake_policy(SET CMP0179 NEW) @@ -35,7 +35,13 @@ if (NOT DEFINED CMAKE_CXX_STANDARD)    set(CMAKE_CXX_STANDARD 20)  endif()  set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(CMAKE_CXX_SCAN_FOR_MODULES OFF) # This slows down build massively +  set(CMAKE_OPTIMIZE_DEPENDENCIES ON) + +set(CMAKE_COLOR_DIAGNOSTICS ON) + +# Speeds up cmake generation significantly in some cases  set(CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY ON)  include(Variables)  | 
