Changed: Allow to compile Ryzom tools even without MySQL (mysql client library has compilation problems with VC++ 2015)

This commit is contained in:
kervala 2016-09-25 10:24:51 +02:00
parent caf43e2d37
commit 458ea3cf89

View file

@ -13,6 +13,8 @@ ADD_SUBDIRECTORY(client)
IF(WITH_RYZOM_SERVER OR WITH_RYZOM_TOOLS) IF(WITH_RYZOM_SERVER OR WITH_RYZOM_TOOLS)
# Need servershare for build packed collision tool # Need servershare for build packed collision tool
# Need aishare for build wmap tool # Need aishare for build wmap tool
FIND_PACKAGE(MySQL REQUIRED) FIND_PACKAGE(MySQL)
IF(MYSQL_FOUND)
ADD_SUBDIRECTORY(server) ADD_SUBDIRECTORY(server)
ENDIF() ENDIF()
ENDIF()