mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
Update: #842 ai_service links, for real.
This commit is contained in:
parent
10577effa0
commit
f0d9ff49d7
2 changed files with 7 additions and 6 deletions
|
@ -36,7 +36,7 @@ TARGET_LINK_LIBRARIES(ai_service admin_modules
|
|||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(ai_service PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||||
PROJECT_LABEL "Services: Frontend Service (FS)")
|
||||
PROJECT_LABEL "Services: AI Service (FS)")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
FILE(GLOB SRC *.cpp *.h)
|
||||
|
||||
# Filter out the source files not actually compiled.
|
||||
LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/world_map.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/world_map.h)
|
||||
|
||||
ADD_LIBRARY(ai_share STATIC ${SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
|
||||
TARGET_LINK_LIBRARIES(ai_share ${NELMISC_LIBRARY} ${NELNET_LIBRARY} ${NELGEORGES_LIBRARY} ${NELPACS_LIBRARY})
|
||||
TARGET_LINK_LIBRARIES(ai_share game_share
|
||||
server_share
|
||||
${NELMISC_LIBRARY}
|
||||
${NELNET_LIBRARY}
|
||||
${NELGEORGES_LIBRARY}
|
||||
${NELPACS_LIBRARY})
|
||||
SET_TARGET_PROPERTIES(ai_share PROPERTIES VERSION ${NL_VERSION})
|
||||
|
||||
IF(WIN32)
|
||||
|
|
Loading…
Reference in a new issue