Add a SYSTEM parameter to target_include_directories (#14180)

This is similar to the include_directories(SYSTEM) signature
in that it allows telling the compiler to ignore warnings from
such headers.
This commit is contained in:
Stephen Kelly
2013-01-20 14:04:13 +01:00
parent 286f227709
commit 1925cffa08
8 changed files with 58 additions and 21 deletions

View File

@@ -83,7 +83,7 @@ private:
virtual void HandleDirectContent(cmTarget *tgt,
const std::vector<std::string> &content,
bool prepend);
bool prepend, bool system);
virtual std::string Join(const std::vector<std::string> &content);
};