1AUTOMOC_EXECUTABLE
2------------------
3
4.. versionadded:: 3.14
5
6:prop_tgt:`AUTOMOC_EXECUTABLE` is file path pointing to the ``moc``
7executable to use for :prop_tgt:`AUTOMOC` enabled files. Setting
8this property will make CMake skip the automatic detection of the
9``moc`` binary as well as the sanity-tests normally run to ensure
10that the binary is available and working as expected.
11
12Usually this property does not need to be set. Only consider this
13property if auto-detection of ``moc`` can not work -- e.g. because
14you are building the ``moc`` binary as part of your project.
15
16See the :manual:`cmake-qt(7)` manual for more information on using CMake
17with Qt.
18