Fixed: Compile seven_zip for tools

--HG--
branch : develop
This commit is contained in:
kervala 2016-02-02 14:31:57 +01:00
parent e5a601c109
commit dd695f0b1f

View file

@ -1,12 +1,10 @@
# Need clientsheets lib for sheets packer tool # Need clientsheets lib for sheets packer tool
ADD_SUBDIRECTORY(client_sheets) ADD_SUBDIRECTORY(client_sheets)
# Need seven_zip lib for patch_gen tool
ADD_SUBDIRECTORY(seven_zip)
IF(WITH_RYZOM_CLIENT) IF(WITH_RYZOM_CLIENT)
# These are Windows/MFC apps
SET(SEVENZIP_LIBRARY "ryzom_sevenzip")
ADD_SUBDIRECTORY(seven_zip)
IF(WITH_RYZOM_PATCH) IF(WITH_RYZOM_PATCH)
ADD_DEFINITIONS(-DRZ_USE_PATCH) ADD_DEFINITIONS(-DRZ_USE_PATCH)
@ -136,13 +134,13 @@ IF(WITH_RYZOM_CLIENT)
nel3d nel3d
nelgui nelgui
nelsound nelsound
ryzom_sevenzip
ryzom_clientsheets ryzom_clientsheets
ryzom_gameshare ryzom_gameshare
nelpacs nelpacs
${LUA_LIBRARIES} ${LUA_LIBRARIES}
${LUABIND_LIBRARIES} ${LUABIND_LIBRARIES}
${CURL_LIBRARIES} ${CURL_LIBRARIES}
${SEVENZIP_LIBRARY}
) )
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})