mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-27 01:06:19 +00:00
Changed: Check for Lua, Luabind, CURL and LibWWW only if compiling the client
This commit is contained in:
parent
4dd62721b9
commit
0c72dc612d
1 changed files with 9 additions and 11 deletions
|
@ -1,18 +1,7 @@
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
#Platform specifics
|
#Platform specifics
|
||||||
|
|
||||||
IF(WITH_LUA51)
|
|
||||||
FIND_PACKAGE(Lua51 REQUIRED)
|
|
||||||
ELSE(WITH_LUA51)
|
|
||||||
FIND_PACKAGE(Lua50 REQUIRED)
|
|
||||||
ENDIF(WITH_LUA51)
|
|
||||||
FIND_PACKAGE(Luabind REQUIRED)
|
|
||||||
FIND_PACKAGE(CURL REQUIRED)
|
|
||||||
FIND_PACKAGE(Libwww REQUIRED)
|
|
||||||
FIND_PACKAGE(ZLIB)
|
FIND_PACKAGE(ZLIB)
|
||||||
IF(NOT WIN32 AND NOT APPLE)
|
|
||||||
FIND_PACKAGE(X11)
|
|
||||||
ENDIF(NOT WIN32 AND NOT APPLE)
|
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/common/src )
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/common/src )
|
||||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/common )
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/common )
|
||||||
|
@ -30,6 +19,15 @@ ENDIF(WITH_STATIC)
|
||||||
ADD_SUBDIRECTORY(common)
|
ADD_SUBDIRECTORY(common)
|
||||||
|
|
||||||
IF(WITH_RYZOM_CLIENT)
|
IF(WITH_RYZOM_CLIENT)
|
||||||
|
IF(WITH_LUA51)
|
||||||
|
FIND_PACKAGE(Lua51 REQUIRED)
|
||||||
|
ELSE(WITH_LUA51)
|
||||||
|
FIND_PACKAGE(Lua50 REQUIRED)
|
||||||
|
ENDIF(WITH_LUA51)
|
||||||
|
FIND_PACKAGE(Luabind REQUIRED)
|
||||||
|
FIND_PACKAGE(CURL REQUIRED)
|
||||||
|
FIND_PACKAGE(Libwww REQUIRED)
|
||||||
|
|
||||||
ADD_SUBDIRECTORY(client)
|
ADD_SUBDIRECTORY(client)
|
||||||
ENDIF(WITH_RYZOM_CLIENT)
|
ENDIF(WITH_RYZOM_CLIENT)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue