Changed: Removed propagation of dependencies to other projects (fix lintian warnings)
parent
1481d48ab8
commit
3bb72a0d06
@ -1,20 +1,16 @@
|
||||
FILE(GLOB SRC *.cpp *.h)
|
||||
|
||||
DECORATE_NEL_LIB("nel3d")
|
||||
SET(NL3D_LIB ${LIBNAME})
|
||||
|
||||
ADD_EXECUTABLE(nel_launcher_ext2 WIN32 ${SRC} nel_launcher.rc)
|
||||
IF(CURL_FOUND)
|
||||
ADD_DEFINITIONS(-DUSE_CURL)
|
||||
ENDIF(CURL_FOUND)
|
||||
ADD_DEFINITIONS(-DNL_LAUNCHER_CFG="\\"${NL_ETC_PREFIX}/\\"")
|
||||
|
||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NELMISC_INCLUDE_DIRS})
|
||||
TARGET_LINK_LIBRARIES(nel_launcher_ext2 ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} ${NELNET_LIBRARY} ${NELMISC_LIBRARY} ${ZLIB_LIBRARY} ${CURL_LIBRARY})
|
||||
SET_TARGET_PROPERTIES(nel_launcher_ext2 PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
||||
PROJECT_LABEL "Launcher: NeL Launcher Ext2")
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
INCLUDE_DIRECTORIES(${NELMISC_INCLUDE_DIRS})
|
||||
|
||||
TARGET_LINK_LIBRARIES(nel_launcher_ext2 ${PLATFORM_LINKFLAGS} ${NELNET_LIBRARY} ${NELMISC_LIBRARY} ${ZLIB_LIBRARY} ${CURL_LIBRARY})
|
||||
NL_DEFAULT_PROPS(nel_launcher_ext2 "Launcher: NeL Launcher Ext2")
|
||||
NL_ADD_RUNTIME_FLAGS(nel_launcher_ext2)
|
||||
|
||||
INSTALL(TARGETS nel_launcher_ext2 RUNTIME DESTINATION bin COMPONENT launcher)
|
||||
INSTALL(FILES nel_launcher.cfg DESTINATION etc/nel COMPONENT launcher)
|
||||
|
@ -1,14 +1,11 @@
|
||||
FILE(GLOB SRC *.cpp *.h)
|
||||
|
||||
ADD_EXECUTABLE(sno_position ${SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NELMISC_INCLUDE_DIRS})
|
||||
TARGET_LINK_LIBRARIES(sno_position ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${NELMISC_LIBRARY} ${NELNET_LIBRARY})
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(sno_position PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||||
PROJECT_LABEL "Services: Snowballs Position")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
ADD_EXECUTABLE(sno_position WIN32 ${SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES(${NELMISC_INCLUDE_DIRS})
|
||||
|
||||
TARGET_LINK_LIBRARIES(sno_position ${PLATFORM_LINKFLAGS} ${NELMISC_LIBRARY} ${NELNET_LIBRARY})
|
||||
NL_DEFAULT_PROPS(sno_position "Services: Snowballs Position")
|
||||
NL_ADD_RUNTIME_FLAGS(sno_position)
|
||||
|
||||
INSTALL(TARGETS sno_position RUNTIME DESTINATION sbin COMPONENT services)
|
||||
|
Loading…
Reference in New Issue