1 --- src/CMakeLists.txt (revision 521)
2 +++ src/CMakeLists.txt (working copy)
5 #${LIBTCOD_CPP_NAME} is empty on non-linux platforms
6 INSTALL(TARGETS ${LIBTCOD_NAME} ${LIBTCOD_GUI_NAME} ${LIBTCOD_CPP_NAME}
7 - RUNTIME DESTINATION ${INSTALL_DIR}
8 - LIBRARY DESTINATION ${INSTALL_DIR}
9 + RUNTIME DESTINATION ${DESTDIR}${CMAKE_INSTALL_PREFIX}/bin
10 + LIBRARY DESTINATION ${DESTDIR}${CMAKE_INSTALL_PREFIX}/lib
12 --- samples/CMakeLists.txt (revision 521)
13 +++ samples/CMakeLists.txt (working copy)
17 INSTALL(TARGETS samples_c samples_cpp hmtool
18 - RUNTIME DESTINATION ${INSTALL_DIR}
19 - LIBRARY DESTINATION ${INSTALL_DIR}
20 + RUNTIME DESTINATION ${DESTDIR}${CMAKE_INSTALL_PREFIX}/share/libtcod/bin
21 + LIBRARY DESTINATION ${DESTDIR}${CMAKE_INSTALL_PREFIX}/share/libtcod/lib
23 --- CMakeLists.txt (revision 521)
24 +++ CMakeLists.txt (working copy)
26 IF(CMAKE_BUILD_TYPE MATCHES "Debug")
27 find_library(EFENCE_LIBRARY efence PATHS /usr/lib /usr/local/lib)
29 + INSTALL(DIRECTORY include/ DESTINATION ${DESTDIR}${CMAKE_INSTALL_PREFIX}/include/libtcod
30 + PATTERN ".svn" EXCLUDE
31 + PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ)
34 add_subdirectory(src) #Needs to come first since samples depend on it