Changed: Only compile gameshare for Ryzom servers, client or tools

This commit is contained in:
kervala 2016-12-04 20:31:24 +01:00
parent 25960c83fc
commit 14bfc8070e

View file

@ -1,4 +1,7 @@
# 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)