summaryrefslogtreecommitdiffstats
path: root/Modules/ExternalProject.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-13 16:12:12 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-05-13 16:12:28 (GMT)
commit0d8aec412a99b32c6e23ef774358f2995c32c3f5 (patch)
treee9e629f1c8d1151e369de4475abbf11520f15230 /Modules/ExternalProject.cmake
parent3bb261b0fedfb2b0e45a5eabc136ff1faea1b914 (diff)
parent0199dd9f1b48b47ae63547ffe737ea9169caf511 (diff)
downloadCMake-0d8aec412a99b32c6e23ef774358f2995c32c3f5.zip
CMake-0d8aec412a99b32c6e23ef774358f2995c32c3f5.tar.gz
CMake-0d8aec412a99b32c6e23ef774358f2995c32c3f5.tar.bz2
Merge topic 'fix-cache-args-file-to-dep-list'
0199dd9f1b ExternalProject: expose _ep_cache_args_script to the caller Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4710
Diffstat (limited to 'Modules/ExternalProject.cmake')
-rw-r--r--Modules/ExternalProject.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index 75f68c8..f9f7a4f 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -2989,6 +2989,10 @@ function(_ep_extract_configure_command var name)
endif()
_ep_write_initial_cache(${name} "${_ep_cache_args_script}" "${script_initial_cache_force}${script_initial_cache_default}")
list(APPEND cmd "-C${_ep_cache_args_script}")
+ _ep_replace_location_tags(${name} _ep_cache_args_script)
+ set(_ep_cache_args_script
+ "${_ep_cache_args_script}"
+ PARENT_SCOPE)
endif()
list(APPEND cmd "<SOURCE_DIR><SOURCE_SUBDIR>")