mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 01:26:30 +00:00
Changed: #842 Cleaned up a couple tools to build correctly (especially when using STLport.)
This commit is contained in:
parent
007037b407
commit
359ff4211c
2 changed files with 7 additions and 4 deletions
|
@ -8,9 +8,10 @@ ADD_EXECUTABLE(7zDec ${SRC})
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
TARGET_LINK_LIBRARIES(7zDec ${PLATFORM_LINKFLAGS})
|
TARGET_LINK_LIBRARIES(7zDec ${PLATFORM_LINKFLAGS})
|
||||||
|
NL_DEFAULT_PROPS(7zDec "Ryzom, Tools, Misc: Seven Zip Decoder")
|
||||||
|
NL_ADD_RUNTIME_FLAGS(7zDec)
|
||||||
|
|
||||||
NL_TARGET_LIB(ryzom_sevenzip ${LIB_SRC})
|
NL_TARGET_LIB(ryzom_sevenzip ${LIB_SRC})
|
||||||
|
|
||||||
TARGET_LINK_LIBRARIES(ryzom_sevenzip ${PLATFORM_LINKFLAGS})
|
TARGET_LINK_LIBRARIES(ryzom_sevenzip ${PLATFORM_LINKFLAGS})
|
||||||
NL_DEFAULT_PROPS(ryzom_sevenzip "Ryzom, Library: Seven Zip")
|
NL_DEFAULT_PROPS(ryzom_sevenzip "Ryzom, Library: Seven Zip")
|
||||||
NL_ADD_LIB_SUFFIX(ryzom_sevenzip)
|
NL_ADD_LIB_SUFFIX(ryzom_sevenzip)
|
||||||
|
@ -18,5 +19,4 @@ NL_ADD_LIB_SUFFIX(ryzom_sevenzip)
|
||||||
ADD_DEFINITIONS(-D_SZ_ONE_DIRECTORY)
|
ADD_DEFINITIONS(-D_SZ_ONE_DIRECTORY)
|
||||||
|
|
||||||
INSTALL(TARGETS ryzom_sevenzip LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)
|
INSTALL(TARGETS ryzom_sevenzip LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)
|
||||||
|
|
||||||
INSTALL(TARGETS 7zDec RUNTIME DESTINATION bin COMPONENT client)
|
INSTALL(TARGETS 7zDec RUNTIME DESTINATION bin COMPONENT client)
|
||||||
|
|
|
@ -2,8 +2,11 @@ FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
ADD_EXECUTABLE(assoc_mem ${SRC})
|
ADD_EXECUTABLE(assoc_mem ${SRC})
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
||||||
TARGET_LINK_LIBRARIES(assoc_mem ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${NELMISC_LIBRARY})
|
TARGET_LINK_LIBRARIES(assoc_mem ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} nelmisc)
|
||||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||||
|
|
||||||
|
NL_DEFAULT_PROPS(assoc_mem "Ryzom, Tools, Misc: assoc_mem")
|
||||||
|
NL_ADD_RUNTIME_FLAGS(assoc_mem)
|
||||||
|
|
||||||
INSTALL(TARGETS assoc_mem RUNTIME DESTINATION bin COMPONENT tools)
|
INSTALL(TARGETS assoc_mem RUNTIME DESTINATION bin COMPONENT tools)
|
||||||
|
|
Loading…
Reference in a new issue