mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 06:47:45 +00:00
cmake test
This commit is contained in:
parent
8a3ed93fbc
commit
c210b5ebef
1 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,10 @@ foreach(_scriptDir ${children})
|
||||||
add_library("script_${_name}" MODULE "${SCRIPT_BUILD_FILES}" "${SCRIPT_INCLUDE_FILES}" "${_scriptDir}/ScriptLoader.cpp")
|
add_library("script_${_name}" MODULE "${SCRIPT_BUILD_FILES}" "${SCRIPT_INCLUDE_FILES}" "${_scriptDir}/ScriptLoader.cpp")
|
||||||
target_link_libraries("script_${_name}" sapphire_zone)
|
target_link_libraries("script_${_name}" sapphire_zone)
|
||||||
|
|
||||||
|
if(MSVC)
|
||||||
|
target_link_libraries("script_${_name}" ${Boost_LIBRARIES})
|
||||||
|
endif()
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
set_target_properties("script_${_name}" PROPERTIES
|
set_target_properties("script_${_name}" PROPERTIES
|
||||||
CXX_STANDARD 14
|
CXX_STANDARD 14
|
||||||
|
|
Loading…
Add table
Reference in a new issue