summaryrefslogtreecommitdiffstats
path: root/Modules/ExternalProject.cmake
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-08-08 19:25:41 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-08-08 19:28:52 (GMT)
commit3a7be4f3943e160b1c0c144d914d3dd2ba42819e (patch)
treeaaf3674f3096264656031f80545880a69fa561b4 /Modules/ExternalProject.cmake
parentee9d4feb67f01686c270d3db584dfccaefd14b47 (diff)
downloadCMake-3a7be4f3943e160b1c0c144d914d3dd2ba42819e.zip
CMake-3a7be4f3943e160b1c0c144d914d3dd2ba42819e.tar.gz
CMake-3a7be4f3943e160b1c0c144d914d3dd2ba42819e.tar.bz2
prefer list(APPEND) over string(APPEND) where appropriate
Diffstat (limited to 'Modules/ExternalProject.cmake')
-rw-r--r--Modules/ExternalProject.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index 44bf957..fc01976 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -1133,7 +1133,7 @@ function(_ep_command_line_to_initial_cache var args force)
endif()
else()
# Assume this is a list to append to the last var
- string(APPEND accumulator ";${line}")
+ list(APPEND accumulator "${line}")
endif()
endforeach()
# Catch the final line of the args