Linux multi-monitor fullscreen support
[ryzomcore.git] / CMakeModules / FindRyzomGameShare.cmake
blobf76e4dd935b7aeb164c658a63cdbfe28693f6857
1 INCLUDE(FindHelpers)
3 FIND_PACKAGE_HELPER(RyzomGameShare game_share/continent.h RELEASE ryzom_gameshare_r ryzom_gameshare DEBUG ryzom_gameshare_d DIR ${NEL_DIR} ${RYZOM_DIR} SUFFIXES ryzom)
5 IF(RYZOMGAMESHARE_FOUND)
6   FIND_PACKAGE(NeL REQUIRED)
7   LIST(APPEND RYZOMGAMESHARE_INCLUDE_DIRS ${NEL_INCLUDE_DIRS})
8   LIST(APPEND RYZOMGAMESHARE_LIBRARIES ${NELMISC_LIBRARIES} ${NELLIGO_LIBRARIES} ${NELNET_LIBRARIES} ${NELGEORGES_LIBRARIES})
10   SET(RYZOM_GAMESHARE_LIBRARIES ${RYZOMGAMESHARE_LIBRARIES})
11   SET(RYZOM_GAMESHARE_FOUND ${RYZOMGAMESHARE_FOUND})
12   SET(RYZOM_GAMESHARE_INCLUDE_DIR ${RYZOMGAMESHARE_INCLUDE_DIR})
13   SET(RYZOM_GAMESHARE_INCLUDE_DIRS ${RYZOMGAMESHARE_INCLUDE_DIRS})
14 ENDIF()