summaryrefslogtreecommitdiff
path: root/Help/guide/tutorial/index.rst
diff options
context:
space:
mode:
authorBetsy McPhail <betsy.mcphail@kitware.com>2020-02-18 16:32:50 -0500
committerBrad King <brad.king@kitware.com>2020-02-27 14:58:24 -0500
commit07223c5c27f60472db2125df647c7e1818aa01bc (patch)
tree0f181ea2fb47e09bd08622d878d5fadc73655dba /Help/guide/tutorial/index.rst
parent21d72777fbbfcf2ab074f8f78838e487f144077d (diff)
downloadcmake-07223c5c27f60472db2125df647c7e1818aa01bc.tar.gz
Tutorial: Update Step 5 to work on Windows
`log` and `exp` should be found on Windows systems now, as expected. Update tests to be more specific in looking for the expected outcome of the tutorial.
Diffstat (limited to 'Help/guide/tutorial/index.rst')
-rw-r--r--Help/guide/tutorial/index.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/guide/tutorial/index.rst b/Help/guide/tutorial/index.rst
index a844cbf843..4fbcd4c211 100644
--- a/Help/guide/tutorial/index.rst
+++ b/Help/guide/tutorial/index.rst
@@ -386,7 +386,7 @@ these functions using the :module:`CheckSymbolExists` module in the top-level
.. literalinclude:: Step6/MathFunctions/CMakeLists.txt
:language: cmake
:start-after: # does this system provide the log and exp functions?
- :end-before: if(HAVE_LOG AND HAVE_EXP)
+ :end-before: # add compile definitions
Now let's add these defines to ``TutorialConfig.h.in`` so that we can use them
from ``mysqrt.cxx``: