summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-04-07 20:35:28 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-04-07 20:35:28 (GMT)
commitccf1eed298cf4d17927da73066a453afab311a46 (patch)
treeeeaa2a5ce4d3f0ba194542980bf18268d2d5b966 /Modules
parent2761979a7a0199bf428e43cecaa47c9937eafc85 (diff)
downloadCMake-ccf1eed298cf4d17927da73066a453afab311a46.zip
CMake-ccf1eed298cf4d17927da73066a453afab311a46.tar.gz
CMake-ccf1eed298cf4d17927da73066a453afab311a46.tar.bz2
ENH: Allow to overwrite CPACK_BINARY_DIR
Diffstat (limited to 'Modules')
-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)