summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/AUTOMOC_MACRO_NAMES.rst
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2018-04-22 21:42:51 (GMT)
committerCraig Scott <craig.scott@crascit.com>2018-04-22 21:48:03 (GMT)
commit8e841a473f1e037d3e8102a23281a593afa2daab (patch)
tree43c577a6ebc02d55e92024304e0a6be34b5b2010 /Help/prop_tgt/AUTOMOC_MACRO_NAMES.rst
parentfe0082875aeecead23b2351629abca4990dfba43 (diff)
downloadCMake-8e841a473f1e037d3e8102a23281a593afa2daab.zip
CMake-8e841a473f1e037d3e8102a23281a593afa2daab.tar.gz
CMake-8e841a473f1e037d3e8102a23281a593afa2daab.tar.bz2
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 a5ad9d5..a9a0ecf 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")