diff options
author | Max Smolens <max.smolens@kitware.com> | 2016-10-10 11:39:57 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-10-10 14:40:12 -0400 |
commit | a3c98cb30edba8ba19bc05d4e08fd344f3440f32 (patch) | |
tree | 617d225b865f3b59f8ba5620e723e8237fca96ee /Modules/ExternalProject.cmake | |
parent | b99bbfe88d1bb02dc903507f3e1bbe716ac04c12 (diff) | |
download | cmake-a3c98cb30edba8ba19bc05d4e08fd344f3440f32.tar.gz |
ExternalProject: Fix regression in passing list to CMAKE_CACHE_ARGS
Fix passing a list to the CMAKE_CACHE_ARGS and CMAKE_CACHE_DEFAULT_ARGS
options of ExternalProject_Add.
Following commit v3.7.0-rc1~273^2~1 (prefer list(APPEND) over
string(APPEND) where appropriate, 2016-08-08), the semicolon list
separator after the first list element was missing in the generated
cache.
Diffstat (limited to 'Modules/ExternalProject.cmake')
-rw-r--r-- | Modules/ExternalProject.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake index bbeeeed43e..4ba8537e02 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 |