Included cmak files as system?


I include a CMAKE file from a vendor in my own cmake file with:


If I build I get all warnings when the files are builded. I can disable all warnings in my cmake file, but I dont whant to.
Is it possible to include that vendor CMAKE as a sytem, just as I can in target_include_ ??


No, there’s no concept of “ignore warnings in this file I do not control” in CMake.