summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/AUTOMOC_MACRO_NAMES.rst
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2018-04-23 07:42:51 +1000
committerCraig Scott <craig.scott@crascit.com>2018-04-23 07:48:03 +1000
commit8e841a473f1e037d3e8102a23281a593afa2daab (patch)
tree43c577a6ebc02d55e92024304e0a6be34b5b2010 /Help/prop_tgt/AUTOMOC_MACRO_NAMES.rst
parentfe0082875aeecead23b2351629abca4990dfba43 (diff)
downloadcmake-8e841a473f1e037d3e8102a23281a593afa2daab.tar.gz
Cleanup: Fix typos and grammar in docs and code
No functional changes, just docs, comments and error messages.
Diffstat (limited to 'Help/prop_tgt/AUTOMOC_MACRO_NAMES.rst')
-rw-r--r--Help/prop_tgt/AUTOMOC_MACRO_NAMES.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/prop_tgt/AUTOMOC_MACRO_NAMES.rst b/Help/prop_tgt/AUTOMOC_MACRO_NAMES.rst
index a5ad9d5ec3..a9a0ecf1e4 100644
--- a/Help/prop_tgt/AUTOMOC_MACRO_NAMES.rst
+++ b/Help/prop_tgt/AUTOMOC_MACRO_NAMES.rst
@@ -25,8 +25,8 @@ with Qt.
Example
^^^^^^^
-In this case the the ``Q_OBJECT`` macro is hidden inside an other macro
-called ``CUSTOM_MACRO``. To let CMake know that source files, that contain
-``CUSTOM_MACRO``, need to be ``moc`` processed, we call::
+In this case the ``Q_OBJECT`` macro is hidden inside another macro
+called ``CUSTOM_MACRO``. To let CMake know that source files that contain
+``CUSTOM_MACRO`` need to be ``moc`` processed, we call::
set_property(TARGET tgt APPEND PROPERTY AUTOMOC_MACRO_NAMES "CUSTOM_MACRO")