summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-13 12:25:56 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-10-13 12:25:56 (GMT)
commit9d0e556904e476d550b6cacfb4e927d63f1b5a37 (patch)
tree1e633b7a0b1b5d849ccd54eb5622cd636ca43b97 /Modules
parent3b07c58dbdb7fb02b7a61ea4bc3ea78d1bdbea9c (diff)
parenta3c98cb30edba8ba19bc05d4e08fd344f3440f32 (diff)
downloadCMake-9d0e556904e476d550b6cacfb4e927d63f1b5a37.zip
CMake-9d0e556904e476d550b6cacfb4e927d63f1b5a37.tar.gz
CMake-9d0e556904e476d550b6cacfb4e927d63f1b5a37.tar.bz2
Merge topic 'ExternalProject-fix-CMAKE_CACHE_ARGS-list'
a3c98cb3 ExternalProject: Fix regression in passing list to CMAKE_CACHE_ARGS
Diffstat (limited to 'Modules')
-rw-r--r--Modules/ExternalProject.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index bbeeeed..4ba8537 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -1160,7 +1160,7 @@ function(_ep_command_line_to_initial_cache var args force)
endif()
else()
# Assume this is a list to append to the last var
- list(APPEND accumulator "${line}")
+ string(APPEND accumulator ";${line}")
endif()
endforeach()
# Catch the final line of the args