Update CMakeLists.txt

This commit is contained in:
Chris Miles 2025-06-22 16:52:30 -05:00
parent c3b0e36b25
commit b9982b1b91

View File

@ -276,7 +276,7 @@ set(lua_sources
add_library(lua_zone STATIC ${lua_sources}) add_library(lua_zone STATIC ${lua_sources})
if (MSVC) if (MSVC)
set_target_properties(lua_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8) set_target_properties(lua_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 4)
else() else()
set_target_properties(lua_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8) set_target_properties(lua_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8)
endif() endif()
@ -311,7 +311,7 @@ set(perl_sources
add_library(perl_zone STATIC ${perl_sources}) add_library(perl_zone STATIC ${perl_sources})
if (MSVC) if (MSVC)
set_target_properties(perl_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8) set_target_properties(perl_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 4)
else() else()
set_target_properties(perl_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8) set_target_properties(perl_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8)
endif() endif()