summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/DependencyProviders/Recurse-stdout.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-06-28 13:19:22 (GMT)
committerBrad King <brad.king@kitware.com>2023-06-29 13:49:51 (GMT)
commit9ede4cab2ba8a405749c09922a7fe54c70ecc190 (patch)
tree283d7965429baf61d5360189c6a7512aa6ed9501 /Tests/RunCMake/DependencyProviders/Recurse-stdout.txt
parentf9fe9099ab1b02239f5904c8c4ca477f63de1f2c (diff)
downloadCMake-9ede4cab2ba8a405749c09922a7fe54c70ecc190.zip
CMake-9ede4cab2ba8a405749c09922a7fe54c70ecc190.tar.gz
CMake-9ede4cab2ba8a405749c09922a7fe54c70ecc190.tar.bz2
FetchContent: Protect ExternalProject keywords from unknown arguments
`ExternalProject_Add` treats all keyword arguments as multi-valued. FetchContent re-orders some keyword arguments w.r.t. unparsed arguments. Add an internal keyword argument to separate the keyword values from following unparsed arguments. This was exposed by commit 550f63447d (ExternalProject/FetchContent: Support relative remote URLs, 2023-04-21, v3.27.0-rc1~156^2) by adding `GIT_REPOSITORY` to the set of re-ordered keyword arguments. This caused its value to absorb following unparsed arguments. Fixes: #25029
Diffstat (limited to 'Tests/RunCMake/DependencyProviders/Recurse-stdout.txt')
-rw-r--r--Tests/RunCMake/DependencyProviders/Recurse-stdout.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/DependencyProviders/Recurse-stdout.txt b/Tests/RunCMake/DependencyProviders/Recurse-stdout.txt
index 2c2035a..25824cb 100644
--- a/Tests/RunCMake/DependencyProviders/Recurse-stdout.txt
+++ b/Tests/RunCMake/DependencyProviders/Recurse-stdout.txt
@@ -1,7 +1,7 @@
-- Before cmake_language
-- After cmake_language
-- Intercepted FetchContent_MakeAvailable\(SomeDep\)
--- Provider invoked for method FETCHCONTENT_MAKEAVAILABLE_SERIAL with args: SOURCE_DIR;.*/Tests/RunCMake/DependencyProviders/Recurse-build/_deps/somedep-src;BINARY_DIR;.*/Tests/RunCMake/DependencyProviders/Recurse-build/_deps/somedep-build;DOWNLOAD_COMMAND;.*/cmake(\.exe)?;-E;echo;Download command called
+-- Provider invoked for method FETCHCONTENT_MAKEAVAILABLE_SERIAL with args: SOURCE_DIR;.*/Tests/RunCMake/DependencyProviders/Recurse-build/_deps/somedep-src;BINARY_DIR;.*/Tests/RunCMake/DependencyProviders/Recurse-build/_deps/somedep-build;EXTERNALPROJECT_INTERNAL_ARGUMENT_SEPARATOR;DOWNLOAD_COMMAND;.*/cmake(\.exe)?;-E;echo;Download command called
.*Download command called
.*-- Should now be handled
-- Configuring done