From 4995760334870428d6f815cbe724262897ead2f3 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 14 Oct 2017 18:31:19 +0200 Subject: [PATCH] Fixed: Don't compile ryzom_servershare and ryzom_aishare if not using Ryzom server or tools --HG-- branch : develop --- code/ryzom/server/src/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/ryzom/server/src/CMakeLists.txt b/code/ryzom/server/src/CMakeLists.txt index 73e0536d1..fc91decc4 100644 --- a/code/ryzom/server/src/CMakeLists.txt +++ b/code/ryzom/server/src/CMakeLists.txt @@ -1,8 +1,10 @@ # Supporting modules and libraries. # Need servershare for build packed collision tool # Need aishare for build wmap tool -ADD_SUBDIRECTORY(server_share) -ADD_SUBDIRECTORY(ai_share) +IF(WITH_RYZOM_TOOLS OR WITH_RYZOM_SERVER) + ADD_SUBDIRECTORY(server_share) + ADD_SUBDIRECTORY(ai_share) +ENDIF() IF(WITH_RYZOM_SERVER)