From 14bfc8070e4b8c64088551f125c92ddba39b1219 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 4 Dec 2016 20:31:24 +0100 Subject: [PATCH] Changed: Only compile gameshare for Ryzom servers, client or tools --- code/ryzom/common/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/ryzom/common/CMakeLists.txt b/code/ryzom/common/CMakeLists.txt index 82e5030a7..00eec3097 100644 --- a/code/ryzom/common/CMakeLists.txt +++ b/code/ryzom/common/CMakeLists.txt @@ -1,4 +1,7 @@ -ADD_SUBDIRECTORY(src) +# only compile game_share for Ryzom client, server and tools +IF(WITH_RYZOM_CLIENT OR WITH_RYZOM_SERVER OR WITH_RYZOM_TOOLS) + ADD_SUBDIRECTORY(src) +ENDIF() #ADD_CUSTOM_COMMAND(OUTPUT "${CMAKE_BINARY_DIR}/share/data_common.bnp" # COMMAND bnp_make -p ${CMAKE_CURRENT_SOURCE_DIR}/data_common ${CMAKE_BINARY_DIR}/share > /dev/null)