diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2023-01-12 21:21:22 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2023-01-13 00:37:38 -0500 |
commit | b3c91e7477c50d212cf72be6e41f71b0e6505484 (patch) | |
tree | d251f55a9765e1f833acecf479a061635005cd1e /CMakeLists.txt | |
parent | 2246731177cdc0a8325dd3d58a17f508604303b0 (diff) | |
download | lighttpd-git-b3c91e7477c50d212cf72be6e41f71b0e6505484.tar.gz |
[cmake] use CMAKE_CURRENT_SOURCE_DIR
use CMAKE_CURRENT_SOURCE_DIR instead of CMAKE_SOURCE_DIR
to aid use by others who might include lighttpd CMakeLists.txt
in a larger build
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e77bcf54..2fb50a98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,8 +11,8 @@ include(CTest) enable_testing() -set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING") -set(CPACK_RESOURCE_FILE_README "${CMAKE_SOURCE_DIR}/README") +set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING") +set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README") set(CPACK_PACKAGE_VENDOR "jan@kneschke.de") set(CPACK_SOURCE_GENERATOR "TGZ") |