Skip to content

Commit

Permalink
cpack: fix packaging directory for CMake <=3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
m6w6 committed Jun 8, 2021
1 parent 051c794 commit 193e5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CPack.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 193e5b3

Please sign in to comment.