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

--HG--
branch : develop
This commit is contained in:
kervala 2016-09-25 10:24:51 +02:00
parent 72ed8b2c61
commit 4b4b321169

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()