summaryrefslogtreecommitdiff
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 4d51a3ee3c..675b38ba65 100644
--- a/Modules/CPack.cmake
+++ b/Modules/CPack.cmake
@@ -332,7 +332,7 @@ function(cpack_encode_variables)
set(value "${${var}}")
endif()
- set(commands "${commands}\nSET(${var} \"${value}\")")
+ string(APPEND commands "\nSET(${var} \"${value}\")")
endif()
endforeach()