From 8e9b703e6a09387c2bdf78c6103108bc22756953 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 --- 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) +# Need seven_zip lib for patch_gen tool +ADD_SUBDIRECTORY(seven_zip) + IF(WITH_RYZOM_CLIENT) - # These are Windows/MFC apps - SET(SEVENZIP_LIBRARY "ryzom_sevenzip") - - ADD_SUBDIRECTORY(seven_zip) - 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})