mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 10:50:16 -06:00
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.
This commit is contained in:
committed by
Brad King
parent
4d56db038d
commit
6d48bd21ac
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user