Skip to content

FetchContent: Don't pass SYSTEM through to sub-build

Craig Scott requested to merge craig.scott/cmake:FetchContent-SYSTEM into master

If we don't filter out SYSTEM from the arguments we pass through to ExternalProject_Add(), it gets appended as a list item to whatever arguments precede it because ExternalProject_Add() doesn't recognize it as a keyword.

Backport: release

Merge request reports