Changed: Only compile installer if WITH_RYZOM_INSTALLER set

This commit is contained in:
kervala 2016-05-14 18:53:57 +02:00
parent 994e90e58f
commit 0fac8984c2
2 changed files with 6 additions and 2 deletions

View file

@ -321,7 +321,7 @@ MACRO(NL_SETUP_RYZOM_DEFAULT_OPTIONS)
OPTION(WITH_RYZOM_CLIENT "Build Ryzom Core Client" ON )
OPTION(WITH_RYZOM_TOOLS "Build Ryzom Core Tools" ON )
OPTION(WITH_RYZOM_SERVER "Build Ryzom Core Services" ON )
OPTION(WITH_RYZOM_SOUND "Enable Ryzom Core Sound" ON )
OPTION(WITH_RYZOM_INSTALLER "Build Ryzom Installer" OFF)
###
# Optional support

View file

@ -3,8 +3,12 @@ IF(WITH_RYZOM_CLIENT)
IF(WITH_QT OR WITH_QT5)
ADD_SUBDIRECTORY(client_config_qt)
ADD_SUBDIRECTORY(ryzom_installer)
IF(WITH_RYZOM_INSTALLER)
ADD_SUBDIRECTORY(ryzom_installer)
ENDIF()
ENDIF()
ENDIF()
IF(WITH_RYZOM_TOOLS)