summaryrefslogtreecommitdiffstats
path: root/Help/guide
diff options
context:
space:
mode:
authorMartin Duffy <martin.duffy@kitware.com>2022-04-21 18:25:06 (GMT)
committerMartin Duffy <martin.duffy@kitware.com>2022-04-21 18:25:06 (GMT)
commit27589da7052019d8324069d02a623235219a4ba8 (patch)
tree2fc2a4ccba7053ca5ec36737255b89977fc596b3 /Help/guide
parent7717848f9ea3e10913eee9eb38c975eb9df704ed (diff)
downloadCMake-27589da7052019d8324069d02a623235219a4ba8.zip
CMake-27589da7052019d8324069d02a623235219a4ba8.tar.gz
CMake-27589da7052019d8324069d02a623235219a4ba8.tar.bz2
Help/guide: Fix wrong header file reference
Step 2 references mysqrt.h instead of MathFunctions.h. MathFunctions/mysqrt.h doesn't exist until Step 9.
Diffstat (limited to 'Help/guide')
-rw-r--r--Help/guide/tutorial/Adding a Library.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Help/guide/tutorial/Adding a Library.rst b/Help/guide/tutorial/Adding a Library.rst
index ed03448..71755be 100644
--- a/Help/guide/tutorial/Adding a Library.rst
+++ b/Help/guide/tutorial/Adding a Library.rst
@@ -23,8 +23,9 @@ directory:
To make use of the new library we will add an :command:`add_subdirectory`
call in the top-level ``CMakeLists.txt`` file so that the library will get
built. We add the new library to the executable, and add ``MathFunctions`` as
-an include directory so that the ``mysqrt.h`` header file can be found. The
-last few lines of the top-level ``CMakeLists.txt`` file should now look like:
+an include directory so that the ``MathFunctions.h`` header file can be found.
+The last few lines of the top-level ``CMakeLists.txt`` file should now look
+like:
.. code-block:: cmake
:caption: CMakeLists.txt