mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 17:29:10 +00:00
16 lines
682 B
Text
16 lines
682 B
Text
|
FILE(GLOB SRC *.cpp *.h)
|
||
|
|
||
|
ADD_EXECUTABLE(admin_executor_service ${SRC})
|
||
|
|
||
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NELMISC_INCLUDE_DIRS})
|
||
|
TARGET_LINK_LIBRARIES(admin_executor_service ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${NELMISC_LIBRARY} ${NELNET_LIBRARY})
|
||
|
IF(WIN32)
|
||
|
SET_TARGET_PROPERTIES(admin_executor_service PROPERTIES
|
||
|
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||
|
PROJECT_LABEL "Services: Admin Executor Service")
|
||
|
ENDIF(WIN32)
|
||
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||
|
|
||
|
INSTALL(TARGETS admin_executor_service RUNTIME DESTINATION sbin COMPONENT aes)
|
||
|
INSTALL(FILES admin_executor_service.cfg common.cfg DESTINATION etc/nel/nelns COMPONENT aes)
|