Skip to content

Commit 193e5b3

Browse files
committed
cpack: fix packaging directory for CMake <=3.11
1 parent 051c794 commit 193e5b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CPack.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ for the memcached server (http://memcached.org/). It has been designed
3939
to be light on memory usage, thread safe, and provide full access to
4040
server side methods.")
4141
if(CMAKE_VERSION VERSION_LESS 3.12)
42-
string(REPLACE ";" "-" CPACK_PACKAGE_DIRECTORY "${PROJECT_CONFIG}")
42+
string(REPLACE ";" "-" CPACK_PACKAGE_DIRECTORY "${CMAKE_BINARY_DIR}/${PROJECT_CONFIG}")
4343
else()
4444
list(JOIN PROJECT_CONFIG "-" CPACK_PACKAGE_DIRECTORY)
4545
endif()

0 commit comments

Comments
 (0)