summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/DependencyProviders/FetchContentSerial-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/FetchContentSerial-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/FetchContentSerial-stdout.txt')
-rw-r--r--Tests/RunCMake/DependencyProviders/FetchContentSerial-stdout.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/DependencyProviders/FetchContentSerial-stdout.txt b/Tests/RunCMake/DependencyProviders/FetchContentSerial-stdout.txt
index fa4a794..5cda903 100644
--- a/Tests/RunCMake/DependencyProviders/FetchContentSerial-stdout.txt
+++ b/Tests/RunCMake/DependencyProviders/FetchContentSerial-stdout.txt
@@ -2,6 +2,6 @@
-- After cmake_language
-- AThing_FOUND = 0
-- Intercepted FetchContent_MakeAvailable\(SomeDep\)
--- Provider invoked for method FETCHCONTENT_MAKEAVAILABLE_SERIAL with args: SOURCE_DIR;.*/Tests/RunCMake/DependencyProviders;BINARY_DIR;.*/Tests/RunCMake/DependencyProviders/FetchContentSerial-build/_deps/somedep-build;SOURCE_SUBDIR;DoesNotExist
+-- Provider invoked for method FETCHCONTENT_MAKEAVAILABLE_SERIAL with args: SOURCE_DIR;.*/Tests/RunCMake/DependencyProviders;BINARY_DIR;.*/Tests/RunCMake/DependencyProviders/FetchContentSerial-build/_deps/somedep-build;EXTERNALPROJECT_INTERNAL_ARGUMENT_SEPARATOR;SOURCE_SUBDIR;DoesNotExist
-- FetchContent_MakeAvailable\(\) succeeded
-- Configuring done