summaryrefslogtreecommitdiff
path: root/Help/guide/tutorial/Adding Usage Requirements for a Library.rst
diff options
context:
space:
mode:
authorJosef Angstenberger <code@jtxa.de>2021-06-10 23:16:18 +0200
committerBrad King <brad.king@kitware.com>2021-06-17 11:55:18 -0400
commit25dde20cc5df77326f369c2dbcca3edcf687e581 (patch)
treed7f406ed2224c92a9e2399d64ee8fdfd147908df /Help/guide/tutorial/Adding Usage Requirements for a Library.rst
parentd1c3e7e78af0b3a4a5637e2bf3af86cfa5ba6e6f (diff)
downloadcmake-25dde20cc5df77326f369c2dbcca3edcf687e581.tar.gz
Tutorial: Fix links after splitting steps
Diffstat (limited to 'Help/guide/tutorial/Adding Usage Requirements for a Library.rst')
-rw-r--r--Help/guide/tutorial/Adding Usage Requirements for a Library.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Help/guide/tutorial/Adding Usage Requirements for a Library.rst b/Help/guide/tutorial/Adding Usage Requirements for a Library.rst
index a625d90480..6146a5e319 100644
--- a/Help/guide/tutorial/Adding Usage Requirements for a Library.rst
+++ b/Help/guide/tutorial/Adding Usage Requirements for a Library.rst
@@ -11,11 +11,11 @@ requirements are:
- :command:`target_include_directories`
- :command:`target_link_libraries`
-Let's refactor our code from `Adding a Library (Step 2)`_ to use the modern
-CMake approach of usage requirements. We first state that anybody linking to
-MathFunctions needs to include the current source directory, while
-MathFunctions itself doesn't. So this can become an ``INTERFACE`` usage
-requirement.
+Let's refactor our code from :guide:`tutorial/Adding a Library` to use the
+modern CMake approach of usage requirements. We first state that anybody
+linking to MathFunctions needs to include the current source directory,
+while MathFunctions itself doesn't. So this can become an ``INTERFACE``
+usage requirement.
Remember ``INTERFACE`` means things that consumers require but the producer
doesn't. Add the following lines to the end of