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 5ac8b6207e
commit da97034f04

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)
ADD_SUBDIRECTORY(server) IF(MYSQL_FOUND)
ADD_SUBDIRECTORY(server)
ENDIF()
ENDIF() ENDIF()