NO_SYSTEM_FROM_IMPORTED.rst 637 B

123456789101112131415
  1. NO_SYSTEM_FROM_IMPORTED
  2. -----------------------
  3. Do not treat include directories from the interfaces of consumed
  4. :ref:`imported targets` as ``SYSTEM``.
  5. The contents of the :prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` target property
  6. of imported targets are treated as ``SYSTEM`` includes by default. If this
  7. property is enabled on a target, compilation of sources in that target will
  8. not treat the contents of the ``INTERFACE_INCLUDE_DIRECTORIES`` of consumed
  9. imported targets as system includes.
  10. This property is initialized by the value of the
  11. :variable:`CMAKE_NO_SYSTEM_FROM_IMPORTED` variable if it is set when a target
  12. is created.