Back to Cmake

AUTOGEN_USE_SYSTEM_INCLUDE

Help/prop_tgt/AUTOGEN_USE_SYSTEM_INCLUDE.rst

4.3.2664 B
Original Source

AUTOGEN_USE_SYSTEM_INCLUDE

.. versionadded:: 3.27

AUTOGEN_USE_SYSTEM_INCLUDE is a boolean property that can be set on a target to indicate that the autogen target include directory should be added as a system include directory or normal include directory to the target.

If this property is not set, the autogen target include directory is added as a system include directory by default. See policy :policy:CMP0151.

See the :manual:cmake-qt(7) manual for more information on using CMake with Qt.

This property is initialized by the :variable:CMAKE_AUTOGEN_USE_SYSTEM_INCLUDE variable if it is set when a target is created.