Merge branch 'fixes' into main/rendor-staging
[ryzomcore.git] / ryzom / CMakeLists.txt
blob4335a84af42a5eabfb42626af5c2344163e8ccfa
1 #-----------------------------------------------------------------------------
2 #Platform specifics
4 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/common/src)
5 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/common)
7 SET(RZ_SERVER_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/server/src)
9 ADD_SUBDIRECTORY(common)
11 IF(WITH_RYZOM_GAMESHARE)
12   # add target alias
13   SET(RYZOM_GAMESHARE_LIBRARIES ryzom_gameshare)
14 ENDIF()
16 ADD_SUBDIRECTORY(tools)
17 ADD_SUBDIRECTORY(client)
19 IF(WITH_RYZOM_SERVER OR WITH_RYZOM_TOOLS)
20   # Need servershare for build packed collision tool
21   # Need aishare for build wmap tool
22   FIND_PACKAGE(MySQL)
23   IF(MYSQL_FOUND)
24     ADD_SUBDIRECTORY(server)
25   ENDIF()
26 ENDIF()