#12 CMakeLists.txt absolute path

open
nobody
Bugfix (24)
5
2008-05-16
2008-05-16
Anonymous
No

by dstegbauer@post.cz

There is absolute path in CMakeLists.txt which does not work for me. Attached patch to change it:

Index: CMakeLists.txt

--- CMakeLists.txt (revision 5991)
+++ CMakeLists.txt (working copy)
@@ -91,7 +91,7 @@
SET(CPACK_PACKAGE_VERSION_PATCH "0-beta1")
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
SET(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README")
-SET(CPACK_RESOURCE_FILE_WELCOME "/usr/share/cmake/Templates/CPack.GenericWelcome.txt")
+SET(CPACK_RESOURCE_FILE_WELCOME "${CMAKE_ROOT}/Templates/CPack.GenericWelcome.txt")
SET(CPACK_SOURCE_GENERATOR "TBZ2")
SET(CPACK_SOURCE_OUTPUT_CONFIG_FILE "${CMAKE_CURRENT_SOURCE_DIR}/CMakeFiles/CPackSourceConfig.cmake")
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "krusader-2.0.0-beta1")

Discussion