From d22affc3d6b67b0a6db2aee757f40b63e9708f2d Mon Sep 17 00:00:00 2001 From: Chris Miles Date: Sun, 22 Jun 2025 15:34:35 -0500 Subject: [PATCH] Update CMakeLists.txt --- zone/CMakeLists.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/zone/CMakeLists.txt b/zone/CMakeLists.txt index b98a10ca2..7e7a94ed2 100644 --- a/zone/CMakeLists.txt +++ b/zone/CMakeLists.txt @@ -275,9 +275,9 @@ set(lua_sources ) add_library(lua_zone STATIC ${lua_sources}) -#if (NOT WIN32) -set_target_properties(lua_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 16) -#else() +if (NOT WIN32) +set_target_properties(lua_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8) +else() # perl unity build set(perl_sources @@ -308,9 +308,9 @@ set(perl_sources ) add_library(perl_zone STATIC ${perl_sources}) -#if (NOT WIN32) -set_target_properties(perl_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 16) -#endif() +if (NOT WIN32) +set_target_properties(perl_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8) +endif() # gm commands set(gm_command_sources @@ -476,9 +476,9 @@ set(gm_command_sources ) add_library(gm_commands_zone STATIC ${gm_command_sources}) -#if (NOT WIN32) -set_target_properties(gm_commands_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 64) -#endif() +if (NOT WIN32) +set_target_properties(gm_commands_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 32) +endif() # zone combine sources and headers ADD_EXECUTABLE(zone ${zone_sources} ${zone_headers})