forked from Segs/Segs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
27 lines (25 loc) · 976 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
link_directories(${ThirdParty_Install_Dir}/lib)
include(ExternalProject_CEREAL.cmake)
if(BUILD_COX_MAP_VIEWER)
# add_subdirectory(Lute)
include(ExternalProject_Lutefisk3D.cmake)
else()
endif()
include(ExternalProject_ACE.cmake)
if(MINGW OR MSVC) # ERICEDIT: If the OS is Windows:
add_custom_target( # ERICEDIT: Add a target that depends on authserver.
libace ALL
DEPENDS ace_IMP
)
add_custom_command( # ERICEDIT: Copy over libACE.dll to the output directory.
TARGET libace
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${ace_LIBRARY_SHARED} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
)
endif()
########################################################################################
# Optional components
########################################################################################
include(ExternalProject_LUA.cmake)
include(ExternalProject_SOL2.cmake)
include(ExternalProject_JCON.cmake)