summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-04-24 12:32:03 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-04-24 12:32:13 (GMT)
commit29ea920540f45b54d2e3c000708399d7a40acc4e (patch)
tree589b966592bf2b2731b2a72abd52641b1a83ca12
parentdf69835a798ff507058954d1dc77470d43652c78 (diff)
parentd0797f62d961c7fc8e9b654ed356833f1912dc59 (diff)
downloadCMake-29ea920540f45b54d2e3c000708399d7a40acc4e.zip
CMake-29ea920540f45b54d2e3c000708399d7a40acc4e.tar.gz
CMake-29ea920540f45b54d2e3c000708399d7a40acc4e.tar.bz2
Merge topic 'tutorial-step5-clarify'
d0797f62d9 Tutorial: Clarify Step 5 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4656
-rw-r--r--Help/guide/tutorial/index.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/Help/guide/tutorial/index.rst b/Help/guide/tutorial/index.rst
index 4fbcd4c..6e26de9 100644
--- a/Help/guide/tutorial/index.rst
+++ b/Help/guide/tutorial/index.rst
@@ -380,8 +380,12 @@ tutorial assume that they are not common.
If the platform has ``log`` and ``exp`` then we will use them to compute the
square root in the ``mysqrt`` function. We first test for the availability of
these functions using the :module:`CheckSymbolExists` module in the top-level
-``CMakeLists.txt``. We're going to use the new defines in
-``TutorialConfig.h.in``, so be sure to set them before that file is configured.
+``CMakeLists.txt``. On some platforms, we will need to link to the m library.
+If ``log`` and ``exp`` are not initially found, require the m library and try
+again.
+
+We're going to use the new defines in ``TutorialConfig.h.in``, so be sure to
+set them before that file is configured.
.. literalinclude:: Step6/MathFunctions/CMakeLists.txt
:language: cmake