From 69262a02d18e0da7d051c858e2166dac8beb967f Mon Sep 17 00:00:00 2001 From: Chris Miles Date: Sun, 22 Jun 2025 17:34:36 -0500 Subject: [PATCH] Update CMakeLists.txt --- zone/CMakeLists.txt | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/zone/CMakeLists.txt b/zone/CMakeLists.txt index b58ab5ddb..1504b8c1a 100644 --- a/zone/CMakeLists.txt +++ b/zone/CMakeLists.txt @@ -275,11 +275,7 @@ set(lua_sources ) add_library(lua_zone STATIC ${lua_sources}) -if (MSVC) - set_target_properties(lua_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8) -else() - set_target_properties(lua_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8) -endif() +set_target_properties(lua_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8) # perl unity build set(perl_sources @@ -310,11 +306,7 @@ set(perl_sources ) add_library(perl_zone STATIC ${perl_sources}) -if (MSVC) - set_target_properties(perl_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8) -else() - set_target_properties(perl_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8) -endif() +set_target_properties(lua_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8) # gm commands set(gm_command_sources