|
|
@ -14,11 +14,11 @@ ADD_DEFINITIONS(-DUNICODE -D_UNICODE -D_7ZIP_PPMD_SUPPPORT)
|
|
|
|
|
|
|
|
|
|
|
|
IF(WITH_PCH)
|
|
|
|
IF(WITH_PCH)
|
|
|
|
ADD_NATIVE_PRECOMPILED_HEADER(ryzom_sevenzip ${CMAKE_CURRENT_SOURCE_DIR}/Precomp.h ${CMAKE_CURRENT_SOURCE_DIR}/Precomp.cpp)
|
|
|
|
ADD_NATIVE_PRECOMPILED_HEADER(ryzom_sevenzip ${CMAKE_CURRENT_SOURCE_DIR}/Precomp.h ${CMAKE_CURRENT_SOURCE_DIR}/Precomp.cpp)
|
|
|
|
ENDIF(WITH_PCH)
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
|
|
|
|
IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
|
|
|
|
IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
|
|
|
|
INSTALL(TARGETS ryzom_sevenzip LIBRARY DESTINATION ${RYZOM_LIB_PREFIX} ARCHIVE DESTINATION ${RYZOM_LIB_PREFIX} COMPONENT libraries)
|
|
|
|
INSTALL(TARGETS ryzom_sevenzip LIBRARY DESTINATION ${RYZOM_LIB_PREFIX} ARCHIVE DESTINATION ${RYZOM_LIB_PREFIX} COMPONENT libraries)
|
|
|
|
ENDIF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
|
|
|
|
IF(WITH_RYZOM_TOOLS)
|
|
|
|
IF(WITH_RYZOM_TOOLS)
|
|
|
|
ADD_EXECUTABLE(7zDec ${CMAKE_CURRENT_SOURCE_DIR}/7zMain.cpp)
|
|
|
|
ADD_EXECUTABLE(7zDec ${CMAKE_CURRENT_SOURCE_DIR}/7zMain.cpp)
|
|
|
@ -28,4 +28,4 @@ IF(WITH_RYZOM_TOOLS)
|
|
|
|
NL_ADD_RUNTIME_FLAGS(7zDec)
|
|
|
|
NL_ADD_RUNTIME_FLAGS(7zDec)
|
|
|
|
|
|
|
|
|
|
|
|
INSTALL(TARGETS 7zDec RUNTIME DESTINATION ${RYZOM_BIN_PREFIX} COMPONENT tools)
|
|
|
|
INSTALL(TARGETS 7zDec RUNTIME DESTINATION ${RYZOM_BIN_PREFIX} COMPONENT tools)
|
|
|
|
ENDIF(WITH_RYZOM_TOOLS)
|
|
|
|
ENDIF()
|
|
|
|