Changed: Only compile gameshare for Ryzom servers, client or tools
This commit is contained in:
parent
25960c83fc
commit
14bfc8070e
1 changed files with 4 additions and 1 deletions
|
@ -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"
|
#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)
|
# COMMAND bnp_make -p ${CMAKE_CURRENT_SOURCE_DIR}/data_common ${CMAKE_BINARY_DIR}/share > /dev/null)
|
||||||
|
|
Loading…
Reference in a new issue