aboutsummaryrefslogtreecommitdiff
path: root/CPackConfig.cmake
diff options
context:
space:
mode:
authorDouglas Heriot <douglas@douglasheriot.com>2015-06-24 18:04:26 +0200
committerAndreas Schneider <asn@cryptomilk.org>2015-06-24 18:17:05 +0200
commita65af1b3b8a4ea50fd687b6583eac93e38cf4f3b (patch)
tree4c087cfc3c362e36e5b8011e7de003ba92804c8b /CPackConfig.cmake
parent5478de1a64251c3f7e19260e599045061136f2e9 (diff)
downloadlibssh-a65af1b3b8a4ea50fd687b6583eac93e38cf4f3b.tar.gz
libssh-a65af1b3b8a4ea50fd687b6583eac93e38cf4f3b.tar.xz
libssh-a65af1b3b8a4ea50fd687b6583eac93e38cf4f3b.zip
cmake: Do not use CMAKE_(SOURCE|BINARY)_DIR
Diffstat (limited to 'CPackConfig.cmake')
-rw-r--r--CPackConfig.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/CPackConfig.cmake b/CPackConfig.cmake
index 347d20a5..ed09fd99 100644
--- a/CPackConfig.cmake
+++ b/CPackConfig.cmake
@@ -4,10 +4,10 @@
### general settings
set(CPACK_PACKAGE_NAME ${APPLICATION_NAME})
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "The SSH library")
-set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/README")
+set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
set(CPACK_PACKAGE_VENDOR "The SSH Library Development Team")
set(CPACK_PACKAGE_INSTALL_DIRECTORY ${CPACK_PACKAGE_NAME})
-set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING")
+set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
### versions