Linux multi-monitor fullscreen support
[ryzomcore.git] / nel / src / cegui / CMakeLists.txt
blob0a94d78924444cb3b10c829432ed81c0f90de312
1 FILE(GLOB SRC *.cpp *.h)
2 FILE(GLOB HEADERS ../../include/nel/cegui/*.h)
4 ADD_LIBRARY(nelceguirenderer SHARED ${HEADERS} ${SRC} nelceguirenderer.def)
6 INCLUDE_DIRECTORIES(BEFORE ${FREETYPE_INCLUDE_DIRS})
7 INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${CEGUI_INCLUDE_DIRS})
8 TARGET_LINK_LIBRARIES(nelceguirenderer nelmisc nel3d ${CEGUI_LIBRARY})
9 NL_DEFAULT_PROPS(nelceguirenderer "NeL, Library: CEGUI Renderer")
10 NL_ADD_RUNTIME_FLAGS(nelceguirenderer)
11 NL_ADD_LIB_SUFFIX(nelceguirenderer)
13 ADD_DEFINITIONS(${LIBXML2_DEFINITIONS} -DNEL_CEGUIRENDERER_EXPORTS)
15 IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
16   INSTALL(TARGETS nelceguirenderer RUNTIME DESTINATION ${NL_BIN_PREFIX} LIBRARY DESTINATION ${NL_LIB_PREFIX} ARCHIVE DESTINATION ${NL_LIB_PREFIX} COMPONENT libraries)
17 ENDIF()