Add property to mark IMPORTED targets as not SYSTEM
Add an IMPORTED_NO_SYSTEM
target property to specify this. When
enabled, do not treat the INTERFACE_INCLUDE_DIRECTORIES
of an imported
target as SYSTEM
include directories.
When the property is enabled on a non-imported target, propagate it through install(EXPORT)
and export()
to consumers.
This is similar to the existing NO_SYSTEM_FROM_IMPORTED
property, but
works from the consumed target rather than the consumer.
Fixes: #17364 (closed)
Edited by Brad King