Fixed: server_share needs MySQL headers
This commit is contained in:
parent
01efed8065
commit
0fc3131d4e
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