diff options
Diffstat (limited to 'Modules/CPack.cmake')
-rw-r--r-- | Modules/CPack.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake index f99c5c4..c20da16 100644 --- a/Modules/CPack.cmake +++ b/Modules/CPack.cmake @@ -68,6 +68,8 @@ ENDIF(NOT CPACK_GENERATOR) # Set some other variables cpack_set_if_not_set(CPACK_BINARY_DIR "${CMAKE_BINARY_DIR}") +cpack_set_if_not_set(CPACK_INSTALL_CMAKE_PROJECTS + "${CMAKE_BINARY_DIR};${CMAKE_PROJECT_NAME}") SET(_CPACK_UNUSED_VARIABLES_) GET_CMAKE_PROPERTY(res VARIABLES) |