summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2022-12-05 11:23:12 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-12-05 11:23:27 (GMT)
commit2d74078d37400f3bb553c055c0395fc42f9b00de (patch)
treea9708c22c406c302d4952b135e20d7f09dabbcda /Modules
parent0b6bfb1ed86c1f1bd5f36a8f21c11f9eae5b7949 (diff)
parent4b85141f8373f24ecace6d12afaaa56adf60273c (diff)
downloadCMake-2d74078d37400f3bb553c055c0395fc42f9b00de.zip
CMake-2d74078d37400f3bb553c055c0395fc42f9b00de.tar.gz
CMake-2d74078d37400f3bb553c055c0395fc42f9b00de.tar.bz2
Merge topic 'FetchContent-SYSTEM' into release-3.25
4b85141f83 FetchContent: Don't pass SYSTEM through to sub-build Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7977
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FetchContent.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FetchContent.cmake b/Modules/FetchContent.cmake
index ac3918c..25b0683 100644
--- a/Modules/FetchContent.cmake
+++ b/Modules/FetchContent.cmake
@@ -1427,6 +1427,9 @@ function(__FetchContent_directPopulate contentName)
set(options
QUIET
+ # SYSTEM has no meaning for ExternalProject, it is only used by us in
+ # FetchContent_MakeAvailable(). We need to parse and discard it here.
+ SYSTEM
)
set(oneValueArgs
SUBBUILD_DIR