CMAKE_AUTOMOC_PATH_PREFIX

From Get docs
Cmake/docs/3.21/variable/cmake automoc path prefix


CMAKE_AUTOMOC_PATH_PREFIX

New in version 3.16.


Whether to generate the -p path prefix option for moc on AUTOMOC enabled Qt targets.

This variable is used to initialize the AUTOMOC_PATH_PREFIX property on all the targets. See that target property for additional information.

The default value is OFF.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_AUTOMOC_PATH_PREFIX.html