summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial
diff options
context:
space:
mode:
authorBetsy McPhail <betsy.mcphail@kitware.com>2021-09-30 16:18:41 (GMT)
committerBetsy McPhail <betsy.mcphail@kitware.com>2021-09-30 16:18:41 (GMT)
commit01c332c9c728cb79b8fc2d2438e798396c2e3f35 (patch)
tree4b6c7761a8bdc05a7af0a694e6804b05a1525de5 /Help/guide/tutorial
parent89d134c61d4cc78bfb9585c80144ce2acae14cfa (diff)
downloadCMake-01c332c9c728cb79b8fc2d2438e798396c2e3f35.zip
CMake-01c332c9c728cb79b8fc2d2438e798396c2e3f35.tar.gz
CMake-01c332c9c728cb79b8fc2d2438e798396c2e3f35.tar.bz2
Tutorial: Clarify instructions in Step 5
Diffstat (limited to 'Help/guide/tutorial')
-rw-r--r--Help/guide/tutorial/Adding System Introspection.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/Help/guide/tutorial/Adding System Introspection.rst b/Help/guide/tutorial/Adding System Introspection.rst
index 7210a8d..e149110 100644
--- a/Help/guide/tutorial/Adding System Introspection.rst
+++ b/Help/guide/tutorial/Adding System Introspection.rst
@@ -14,11 +14,14 @@ these functions using the :module:`CheckSymbolExists` module in
the ``m`` library. If ``log`` and ``exp`` are not initially found, require the
``m`` library and try again.
+Add the checks for ``log`` and ``exp`` to ``MathFunctions/CMakeLists.txt``,
+after the call to :command:`target_include_directories`:
+
.. literalinclude:: Step6/MathFunctions/CMakeLists.txt
:caption: MathFunctions/CMakeLists.txt
:name: MathFunctions/CMakeLists.txt-check_symbol_exists
:language: cmake
- :start-after: # does this system provide the log and exp functions?
+ :start-after: # to find MathFunctions.h, while we don't.
:end-before: # add compile definitions
If available, use :command:`target_compile_definitions` to specify