From dd695f0b1f4087457dbb6d71124a7184685ee6d2 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 2 Feb 2016 14:31:57 +0100 Subject: [PATCH] Fixed: Compile seven_zip for tools --HG-- branch : develop --- code/ryzom/client/src/CMakeLists.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/code/ryzom/client/src/CMakeLists.txt b/code/ryzom/client/src/CMakeLists.txt index e54b90737..d2f8f2bb2 100644 --- a/code/ryzom/client/src/CMakeLists.txt +++ b/code/ryzom/client/src/CMakeLists.txt @@ -1,12 +1,10 @@ # Need clientsheets lib for sheets packer tool ADD_SUBDIRECTORY(client_sheets) -IF(WITH_RYZOM_CLIENT) - # These are Windows/MFC apps - SET(SEVENZIP_LIBRARY "ryzom_sevenzip") - - ADD_SUBDIRECTORY(seven_zip) +# Need seven_zip lib for patch_gen tool +ADD_SUBDIRECTORY(seven_zip) +IF(WITH_RYZOM_CLIENT) IF(WITH_RYZOM_PATCH) ADD_DEFINITIONS(-DRZ_USE_PATCH) @@ -136,13 +134,13 @@ IF(WITH_RYZOM_CLIENT) nel3d nelgui nelsound + ryzom_sevenzip ryzom_clientsheets ryzom_gameshare nelpacs ${LUA_LIBRARIES} ${LUABIND_LIBRARIES} ${CURL_LIBRARIES} - ${SEVENZIP_LIBRARY} ) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})