Fixes
[ryzomcore.git] / nelns / admin_service / CMakeLists.txt
blob22dd846c90cc0488cfdba46bd4290b0331e849f5
1 FILE(GLOB SRC *.cpp *.h)
3 ADD_EXECUTABLE(admin_service WIN32 ${SRC})
5 INCLUDE_DIRECTORIES(${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
7 TARGET_LINK_LIBRARIES(admin_service
8                                                 ${MYSQL_LIBRARIES}
9                                                 ${ZLIB_LIBRARIES}
10                                                 nelmisc
11                                                 nelnet)
13 NL_DEFAULT_PROPS(admin_service "NelNS, Services: Admin Service")
14 NL_ADD_RUNTIME_FLAGS(admin_service)
16 INSTALL(TARGETS admin_service RUNTIME DESTINATION sbin COMPONENT as)
17 INSTALL(FILES admin_service.cfg common.cfg DESTINATION ${NL_ETC_PREFIX}/nelns COMPONENT as)