CMAKE_AUTOMOC_INCLUDE_DIRECTORIES
Added in version 4.1.
Specifies zero or more include directories for AUTOMOC to pass explicitly to the Qt Meta-Object Compiler (moc) instead of automatically discovering each target's include directories.
The directories listed here will replace any include paths discovered from target properties such as INCLUDE_DIRECTORIES.
This variable is used to initialize the AUTOMOC_INCLUDE_DIRECTORIES property on all the targets. See that target property for additional information.
© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/variable/CMAKE_AUTOMOC_INCLUDE_DIRECTORIES.html