diff --git a/Modules/FetchContent.cmake b/Modules/FetchContent.cmake index ac3918cf8f..25b0683d36 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