diff options
author | Craig Scott <craig.scott@crascit.com> | 2022-12-05 11:23:12 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-12-05 11:23:28 (GMT) |
commit | d09dc119118c14a3fff85950e8480e1cd9b2dc48 (patch) | |
tree | 0c0a3091f44a552ed8973b939f041205468c1eff /Modules | |
parent | 03da25a44a98fb83f2abe325bc994509634b8653 (diff) | |
parent | 4b85141f8373f24ecace6d12afaaa56adf60273c (diff) | |
download | CMake-d09dc119118c14a3fff85950e8480e1cd9b2dc48.zip CMake-d09dc119118c14a3fff85950e8480e1cd9b2dc48.tar.gz CMake-d09dc119118c14a3fff85950e8480e1cd9b2dc48.tar.bz2 |
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')
-rw-r--r-- | Modules/FetchContent.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FetchContent.cmake b/Modules/FetchContent.cmake index 80554d0..c9f1a09 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 |