summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Adding a Library.rst
diff options
context:
space:
mode:
authorKevin Albertson <kevin.eric.albertson@gmail.com>2024-01-05 01:09:49 (GMT)
committerBrad King <brad.king@kitware.com>2024-01-05 18:22:39 (GMT)
commit6d48bd21acd9a061a8289e0b3f0a2b8a14e06205 (patch)
tree4a672a89d57b676d021db9424248aad89f8ad9dd /Help/guide/tutorial/Adding a Library.rst
parent4d56db038d0fe452d5dbc901ca50f4a9da543e16 (diff)
downloadCMake-6d48bd21acd9a061a8289e0b3f0a2b8a14e06205.zip
CMake-6d48bd21acd9a061a8289e0b3f0a2b8a14e06205.tar.gz
CMake-6d48bd21acd9a061a8289e0b3f0a2b8a14e06205.tar.bz2
Tutorial: Clarify the expected change to target_include_directories
The expectation is to modify the existing `target_include_directories`, not add add a new `target_include_directories` command.
Diffstat (limited to 'Help/guide/tutorial/Adding a Library.rst')
-rw-r--r--Help/guide/tutorial/Adding a Library.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Help/guide/tutorial/Adding a Library.rst b/Help/guide/tutorial/Adding a Library.rst
index 18ced97..cfcfc67 100644
--- a/Help/guide/tutorial/Adding a Library.rst
+++ b/Help/guide/tutorial/Adding a Library.rst
@@ -145,10 +145,10 @@ Next, the new library target is linked to the executable target using
</details>
-Finally we need to specify the library's header file location. Modify
-:command:`target_include_directories` to add the ``MathFunctions`` subdirectory
-as an include directory so that the ``MathFunctions.h`` header file can be
-found.
+Finally we need to specify the library's header file location.
+Modify the existing :command:`target_include_directories` call
+to add the ``MathFunctions`` subdirectory as an include directory
+so that the ``MathFunctions.h`` header file can be found.
.. raw:: html