mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-28 07:07:45 +00:00
fix pcb_reader cmakelists i hope
This commit is contained in:
parent
0cac614b96
commit
7ac18f8f5a
1 changed files with 2 additions and 8 deletions
|
@ -6,16 +6,10 @@ set(SAPPHIRE_BOOST_VER 1.63.0)
|
||||||
set(SAPPHIRE_BOOST_FOLDER_NAME boost_1_63_0)
|
set(SAPPHIRE_BOOST_FOLDER_NAME boost_1_63_0)
|
||||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../bin/")
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../bin/")
|
||||||
|
|
||||||
include_directories("../../lib/ChaiScript-6.0.0/include/")
|
|
||||||
|
|
||||||
include_directories("../../sapphire/datReader/")
|
|
||||||
include_directories("../../sapphire/")
|
|
||||||
include_directories("../")
|
|
||||||
|
|
||||||
file(GLOB SERVER_PUBLIC_INCLUDE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/*")
|
file(GLOB SERVER_PUBLIC_INCLUDE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/*")
|
||||||
file(GLOB SERVER_SOURCE_FILES "${CMAKE_CURRENT_SOURCE_DIR}*.c*")
|
file(GLOB SERVER_SOURCE_FILES "${CMAKE_CURRENT_SOURCE_DIR}*.c*")
|
||||||
|
|
||||||
|
|
||||||
#set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "../bin/")
|
#set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "../bin/")
|
||||||
add_executable(pcb_reader2 ${SERVER_PUBLIC_INCLUDE_FILES} ${SERVER_SOURCE_FILES})
|
add_executable(pcb_reader2 ${SERVER_PUBLIC_INCLUDE_FILES} ${SERVER_SOURCE_FILES})
|
||||||
|
|
||||||
|
@ -30,9 +24,9 @@ set_target_properties(pcb_reader2 PROPERTIES
|
||||||
)
|
)
|
||||||
|
|
||||||
if (UNIX)
|
if (UNIX)
|
||||||
target_link_libraries (pcb_reader2 Common xivdat pthread mysqlclient dl z)
|
target_link_libraries (pcb_reader2 common xivdat pthread mysqlclient dl z)
|
||||||
else()
|
else()
|
||||||
target_link_libraries (pcb_reader2 Common xivdat libmysql zlib1)
|
target_link_libraries (pcb_reader2 common xivdat libmysql zlib1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(pcb_reader2 ${Boost_LIBRARIES} ${Boost_LIBRARIES})
|
target_link_libraries(pcb_reader2 ${Boost_LIBRARIES} ${Boost_LIBRARIES})
|
||||||
|
|
Loading…
Add table
Reference in a new issue