Restore CMAKE_UNITY_BUILD_BATCH_SIZE

This commit is contained in:
Bart Thomee
2025-10-20 11:49:41 -04:00
parent 26acbaed64
commit 3711d40901

View File

@@ -20,6 +20,9 @@ endif()
option(unity "Creates a build using UNITY support in cmake." OFF)
if(unity)
if(NOT is_ci)
set(CMAKE_UNITY_BUILD_BATCH_SIZE 15 CACHE STRING "")
endif()
set(CMAKE_UNITY_BUILD ON CACHE BOOL "Do a unity build")
endif()
if(is_clang AND is_linux)