Fix crash with fame and new player
[ryzomcore.git] / nel / samples / pacs / CMakeLists.txt
blob79839c1267dd836515e152fa5d02ad05f3c899f2
1 FILE(GLOB SRC *.cpp *.h)
3 ADD_EXECUTABLE(nl_sample_pacs WIN32 ${SRC})
5 ADD_DEFINITIONS(-DNL_PACS_DATA="\\"${NL_SHARE_ABSOLUTE_PREFIX}/nl_sample_pacs/\\"")
7 TARGET_LINK_LIBRARIES(nl_sample_pacs nelmisc nelpacs nel3d)
8 NL_DEFAULT_PROPS(nl_sample_pacs "NeL, Samples: PACS")
9 NL_ADD_RUNTIME_FLAGS(nl_sample_pacs)
11 INSTALL(TARGETS nl_sample_pacs RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT samplespacs)
12 INSTALL(FILES readme.txt DESTINATION ${NL_SHARE_PREFIX}/nl_sample_pacs COMPONENT samplespacs)
13 INSTALL(DIRECTORY shapes/
14         DESTINATION ${NL_SHARE_PREFIX}/nl_sample_pacs/shapes
15         COMPONENT samplespacs
16         PATTERN "CVS" EXCLUDE
17         PATTERN ".svn" EXCLUDE
18         PATTERN "Makefile*" EXCLUDE)