summaryrefslogtreecommitdiffstats
path: root/Modules/CPack.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CPack.cmake')
-rw-r--r--Modules/CPack.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake
index c0dd774..f99c5c4 100644
--- a/Modules/CPack.cmake
+++ b/Modules/CPack.cmake
@@ -67,7 +67,7 @@ IF(NOT CPACK_GENERATOR)
ENDIF(NOT CPACK_GENERATOR)
# Set some other variables
-SET(CPACK_BINARY_DIR "${CMAKE_BINARY_DIR}")
+cpack_set_if_not_set(CPACK_BINARY_DIR "${CMAKE_BINARY_DIR}")
SET(_CPACK_UNUSED_VARIABLES_)
GET_CMAKE_PROPERTY(res VARIABLES)