Open
Description
See title. It seems like if setting the SYSTEM
keyword in CPMAddPackage it is not propagated to the cpm_add_subdirectory
function. As a result dependencies are build with -I<path>
instead of -isystem <path>
.
Apparently, it works when specifying SYSTEM YES
, which different to the behavior of FetchContent
https://cmake.org/cmake/help/latest/module/FetchContent.html