1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-04 17:57:47 +00:00
sapphire/src/tools/pcb_reader/CMakeLists.txt

23 lines
720 B
Text
Raw Normal View History

cmake_minimum_required(VERSION 2.6)
cmake_policy(SET CMP0015 NEW)
project(Tool_pcb_reader2)
2017-08-08 13:53:47 +02:00
file(GLOB SERVER_PUBLIC_INCLUDE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/*")
file(GLOB SERVER_SOURCE_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
*.c*
nav/*.c*
nav/ext/*.c*)
add_executable(pcb_reader2 ${SERVER_PUBLIC_INCLUDE_FILES} ${SERVER_SOURCE_FILES})
2017-10-16 23:54:27 +02:00
if (UNIX)
2019-01-23 14:26:17 +00:00
target_link_libraries( pcb_reader2 common xivdat pthread mysqlclient dl z stdc++fs Recast Detour DetourTileCache )
2017-10-16 23:54:27 +02:00
else()
2019-01-23 14:26:17 +00:00
target_link_libraries( pcb_reader2 common xivdat mysql zlib Recast Detour DetourTileCache )
2017-10-16 23:54:27 +02:00
endif()
2019-01-20 20:07:32 +11:00
target_include_directories( pcb_reader2
PUBLIC
"${CMAKE_CURRENT_SOURCE_DIR}/../../deps/" )
2017-08-08 13:53:47 +02:00