diff options
author | Brad King <brad.king@kitware.com> | 2021-10-04 14:24:48 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-10-04 14:26:45 (GMT) |
commit | eb3fd11a238461c9c21e15bb47eb2e7e3b61b666 (patch) | |
tree | 3a13d21bc4f2809752b429c58816c2d033f8f7b0 /Help | |
parent | 815dd8a92074a0948da57ba512ce402680692d30 (diff) | |
parent | 01c332c9c728cb79b8fc2d2438e798396c2e3f35 (diff) | |
download | CMake-eb3fd11a238461c9c21e15bb47eb2e7e3b61b666.zip CMake-eb3fd11a238461c9c21e15bb47eb2e7e3b61b666.tar.gz CMake-eb3fd11a238461c9c21e15bb47eb2e7e3b61b666.tar.bz2 |
Merge topic 'tutorial-step5'
01c332c9c7 Tutorial: Clarify instructions in Step 5
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6577
Diffstat (limited to 'Help')
-rw-r--r-- | Help/guide/tutorial/Adding System Introspection.rst | 5 |
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 |