Fixed: server_share needs MySQL headers
This commit is contained in:
parent
652915412f
commit
30b0f25587
1 changed files with 3 additions and 9 deletions
|
@ -24,15 +24,9 @@ IF(WITH_RYZOM_TOOLS)
|
||||||
ADD_SUBDIRECTORY(tools)
|
ADD_SUBDIRECTORY(tools)
|
||||||
ENDIF(WITH_RYZOM_TOOLS)
|
ENDIF(WITH_RYZOM_TOOLS)
|
||||||
|
|
||||||
IF(WITH_RYZOM_SERVER)
|
IF(WITH_RYZOM_SERVER OR WITH_RYZOM_TOOLS)
|
||||||
|
|
||||||
FIND_PACKAGE(MySQL REQUIRED)
|
|
||||||
ADD_SUBDIRECTORY(server)
|
|
||||||
|
|
||||||
ELSEIF(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)
|
||||||
ADD_SUBDIRECTORY(server)
|
ADD_SUBDIRECTORY(server)
|
||||||
|
ENDIF(WITH_RYZOM_SERVER OR WITH_RYZOM_TOOLS)
|
||||||
ENDIF(WITH_RYZOM_SERVER)
|
|
||||||
|
|
Loading…
Reference in a new issue