|
|
|
@ -17,11 +17,11 @@ IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
|
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
|
|
IF(WITH_NEL_TOOLS)
|
|
|
|
|
ADD_EXECUTABLE(lzma ${CMAKE_CURRENT_SOURCE_DIR}/LzmaUtil.c)
|
|
|
|
|
ADD_EXECUTABLE(nellzma ${CMAKE_CURRENT_SOURCE_DIR}/LzmaUtil.c)
|
|
|
|
|
|
|
|
|
|
TARGET_LINK_LIBRARIES(lzma nel_sevenzip)
|
|
|
|
|
NL_DEFAULT_PROPS(lzma "NeL, 3rd Party: LZMA")
|
|
|
|
|
NL_ADD_RUNTIME_FLAGS(lzma)
|
|
|
|
|
TARGET_LINK_LIBRARIES(nellzma nel_sevenzip)
|
|
|
|
|
NL_DEFAULT_PROPS(nellzma "NeL, 3rd Party: LZMA")
|
|
|
|
|
NL_ADD_RUNTIME_FLAGS(nellzma)
|
|
|
|
|
|
|
|
|
|
INSTALL(TARGETS lzma RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT tools)
|
|
|
|
|
INSTALL(TARGETS nellzma RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT tools)
|
|
|
|
|
ENDIF()
|
|
|
|
|