summaryrefslogtreecommitdiff
path: root/Modules/FetchContent.cmake
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2022-12-05 11:23:12 +0000
committerKitware Robot <kwrobot@kitware.com>2022-12-05 06:23:28 -0500
commitd09dc119118c14a3fff85950e8480e1cd9b2dc48 (patch)
tree0c0a3091f44a552ed8973b939f041205468c1eff /Modules/FetchContent.cmake
parent03da25a44a98fb83f2abe325bc994509634b8653 (diff)
parent4b85141f8373f24ecace6d12afaaa56adf60273c (diff)
downloadcmake-d09dc119118c14a3fff85950e8480e1cd9b2dc48.tar.gz
Merge topic 'FetchContent-SYSTEM'
4b85141f83 FetchContent: Don't pass SYSTEM through to sub-build Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7977
Diffstat (limited to 'Modules/FetchContent.cmake')
-rw-r--r--Modules/FetchContent.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FetchContent.cmake b/Modules/FetchContent.cmake
index 80554d0070..c9f1a098b3 100644
--- a/Modules/FetchContent.cmake
+++ b/Modules/FetchContent.cmake
@@ -1425,6 +1425,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