From: Michael Wallner Date: Tue, 8 Jun 2021 09:36:16 +0000 (+0200) Subject: cpack: fix packaging directory for CMake <=3.11 X-Git-Tag: 1.1.0~3 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=193e5b33334e6209b87d23740a93db8eeef942b1;p=awesomized%2Flibmemcached cpack: fix packaging directory for CMake <=3.11 --- diff --git a/CPack.txt b/CPack.txt index cfbe1fc8..eca05503 100644 --- a/CPack.txt +++ b/CPack.txt @@ -39,7 +39,7 @@ for the memcached server (http://memcached.org/). It has been designed to be light on memory usage, thread safe, and provide full access to server side methods.") if(CMAKE_VERSION VERSION_LESS 3.12) - string(REPLACE ";" "-" CPACK_PACKAGE_DIRECTORY "${PROJECT_CONFIG}") + string(REPLACE ";" "-" CPACK_PACKAGE_DIRECTORY "${CMAKE_BINARY_DIR}/${PROJECT_CONFIG}") else() list(JOIN PROJECT_CONFIG "-" CPACK_PACKAGE_DIRECTORY) endif()