mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-05 20:22:28 +00:00
Update CMakeLists.txt
This commit is contained in:
parent
c48d625067
commit
b1fcb55ba4
@ -275,7 +275,11 @@ set(lua_sources
|
||||
)
|
||||
|
||||
add_library(lua_zone STATIC ${lua_sources})
|
||||
set_target_properties(lua_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8)
|
||||
if (MSVC)
|
||||
set_target_properties(lua_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 4)
|
||||
else()
|
||||
set_target_properties(lua_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8)
|
||||
endif()
|
||||
|
||||
# perl unity build
|
||||
set(perl_sources
|
||||
@ -306,7 +310,11 @@ set(perl_sources
|
||||
)
|
||||
|
||||
add_library(perl_zone STATIC ${perl_sources})
|
||||
set_target_properties(perl_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8)
|
||||
if (MSVC)
|
||||
set_target_properties(perl_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 4)
|
||||
else()
|
||||
set_target_properties(perl_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8)
|
||||
endif()
|
||||
|
||||
# gm commands
|
||||
set(gm_command_sources
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user