1 FILE(GLOB SRC *.cpp *.h)
2 FILE(GLOB HEADERS ../../include/nel/pacs/*.h)
4 NL_TARGET_LIB(nelpacs ${HEADERS} ${SRC})
6 INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
8 TARGET_LINK_LIBRARIES(nelpacs nelmisc)
9 NL_DEFAULT_PROPS(nelpacs "NeL, Library: NeL PACS")
10 NL_ADD_RUNTIME_FLAGS(nelpacs)
12 NL_ADD_LIB_SUFFIX(nelpacs)
14 ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
17 ADD_NATIVE_PRECOMPILED_HEADER(nelpacs ${CMAKE_CURRENT_SOURCE_DIR}/stdpacs.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpacs.cpp)
20 NL_GEN_PC(nel-pacs.pc)
22 IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
23 INSTALL(TARGETS nelpacs LIBRARY DESTINATION ${NL_LIB_PREFIX} ARCHIVE DESTINATION ${NL_LIB_PREFIX} COMPONENT libraries)