From 193e5b33334e6209b87d23740a93db8eeef942b1 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 8 Jun 2021 11:36:16 +0200 Subject: [PATCH] cpack: fix packaging directory for CMake <=3.11 --- CPack.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.30.2