|
|
@ -6,8 +6,8 @@ LIST(REMOVE_ITEM LIB_SRC ${CMAKE_CURRENT_SOURCE_DIR}/7zMain.cpp)
|
|
|
|
|
|
|
|
|
|
|
|
ADD_EXECUTABLE(7zDec ${SRC})
|
|
|
|
ADD_EXECUTABLE(7zDec ${SRC})
|
|
|
|
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${NEL_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
TARGET_LINK_LIBRARIES(7zDec ${PLATFORM_LINKFLAGS} ${NELMISC_LIBRARY})
|
|
|
|
TARGET_LINK_LIBRARIES(7zDec ${PLATFORM_LINKFLAGS})
|
|
|
|
|
|
|
|
|
|
|
|
IF(NOT WIN32)
|
|
|
|
IF(NOT WIN32)
|
|
|
|
ADD_LIBRARY(ryzom_sevenzip SHARED ${LIB_SRC})
|
|
|
|
ADD_LIBRARY(ryzom_sevenzip SHARED ${LIB_SRC})
|
|
|
@ -16,7 +16,9 @@ ELSE(NOT WIN32)
|
|
|
|
ENDIF(NOT WIN32)
|
|
|
|
ENDIF(NOT WIN32)
|
|
|
|
|
|
|
|
|
|
|
|
TARGET_LINK_LIBRARIES(ryzom_sevenzip ${PLATFORM_LINKFLAGS})
|
|
|
|
TARGET_LINK_LIBRARIES(ryzom_sevenzip ${PLATFORM_LINKFLAGS})
|
|
|
|
SET_TARGET_PROPERTIES(ryzom_sevenzip PROPERTIES VERSION ${NL_VERSION})
|
|
|
|
SET_TARGET_PROPERTIES(ryzom_sevenzip PROPERTIES
|
|
|
|
|
|
|
|
VERSION ${NL_VERSION}
|
|
|
|
|
|
|
|
SOVERSION ${NL_VERSION_MAJOR})
|
|
|
|
|
|
|
|
|
|
|
|
IF(WIN32)
|
|
|
|
IF(WIN32)
|
|
|
|
SET_TARGET_PROPERTIES(ryzom_sevenzip
|
|
|
|
SET_TARGET_PROPERTIES(ryzom_sevenzip
|
|
|
|