Browse Source

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.
Martin Duffy 3 years ago
parent
commit
27589da705
1 changed files with 3 additions and 2 deletions
  1. 3 2
      Help/guide/tutorial/Adding a Library.rst

+ 3 - 2
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