Don't udpate LastOverSpeedTick when using aqua_speed
[ryzomcore.git] / nel / 3rdparty / seven_zip / CMakeLists.txt
blobdfbf00aa212f296a7c271b5c69084e6489df2263
1 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
3 FILE(GLOB LIB_SRC *.cpp *.c *.h)
5 LIST(REMOVE_ITEM LIB_SRC ${CMAKE_CURRENT_SOURCE_DIR}/LzmaUtil.c)
7 NL_TARGET_LIB(nel_sevenzip ${LIB_SRC})
8 # TARGET_LINK_LIBRARIES(nel_sevenzip ${PLATFORM_LINKFLAGS})
9 NL_DEFAULT_PROPS(nel_sevenzip "NeL, 3rd Party: Seven Zip")
10 NL_ADD_RUNTIME_FLAGS(nel_sevenzip)
11 NL_ADD_LIB_SUFFIX(nel_sevenzip)
13 ADD_DEFINITIONS(-D_7ZIP_ST)
15 IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
16   INSTALL(TARGETS nel_sevenzip LIBRARY DESTINATION ${NL_LIB_PREFIX} ARCHIVE DESTINATION ${NL_LIB_PREFIX} COMPONENT libraries)
17 ENDIF()
19 IF(WITH_NEL_TOOLS)
20   ADD_EXECUTABLE(lzma ${CMAKE_CURRENT_SOURCE_DIR}/LzmaUtil.c)
22   TARGET_LINK_LIBRARIES(lzma nel_sevenzip)
23   NL_DEFAULT_PROPS(lzma "NeL, 3rd Party: LZMA")
24   NL_ADD_RUNTIME_FLAGS(lzma)
26   INSTALL(TARGETS lzma RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT tools)
27 ENDIF()