Fix build project. Can't build server tools without ai share

This commit is contained in:
kaetemi 2019-05-01 07:05:26 +08:00
parent 35c59359df
commit 09ea41679f
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,6 @@
FIND_PACKAGE(MySQL)
IF(WITH_RYZOM_TOOLS)
ADD_SUBDIRECTORY(skill_extractor)
ADD_SUBDIRECTORY(make_alias_file)
@ -17,7 +20,6 @@ IF(WITH_RYZOM_TOOLS)
ADD_SUBDIRECTORY(patch_gen)
IF(WIN32)
FIND_PACKAGE(MySQL)
IF(MYSQL_FOUND)
ADD_SUBDIRECTORY(sheets_packer_shard)
ENDIF()
@ -30,7 +32,10 @@ IF(WITH_RYZOM_TOOLS)
ENDIF()
ADD_SUBDIRECTORY(client)
ADD_SUBDIRECTORY(server)
IF(MYSQL_FOUND)
ADD_SUBDIRECTORY(server)
ENDIF()
# Old stuff that doesn't compile anymore.
#ADD_SUBDIRECTORY(occ2huff)

View file

@ -14,6 +14,6 @@ IF(WITH_QT5 AND WITH_RYZOM_INSTALLER)
ADD_SUBDIRECTORY(ryzom_installer)
ENDIF()
IF(WITH_RYZOM_TOOLS)
IF(WITH_RYZOM_TOOLS AND MYSQL_FOUND)
ADD_SUBDIRECTORY(r2_islands_textures)
ENDIF()