summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Selecting Static or Shared Libraries.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-19 14:24:48 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-01-19 14:24:56 (GMT)
commitc3513e59c486df0098a85a181e59073941135454 (patch)
tree7813e94bb6c038d9c287d42e71192db02969fed3 /Help/guide/tutorial/Selecting Static or Shared Libraries.rst
parentc601bd28af8f67d45f28c08c3529aecce78441d4 (diff)
parent2e3fcf9399b3b4ab38039f90c826c46a3076044d (diff)
downloadCMake-c3513e59c486df0098a85a181e59073941135454.zip
CMake-c3513e59c486df0098a85a181e59073941135454.tar.gz
CMake-c3513e59c486df0098a85a181e59073941135454.tar.bz2
Merge topic 'minor-tutorial-fixes'
2e3fcf9399 Tutorial: Fix typos in Step 11 exercise and solution f04c548877 Tutorial: Fix exercise in Step 10 to match solution provided in Step 11 566e12c976 Tutorial: Fix destination of link from Step 6 to Step 5 bef0b9eb64 Tutorial: Fix exercise in Step 5 to match solution provided in Step 6 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8087
Diffstat (limited to 'Help/guide/tutorial/Selecting Static or Shared Libraries.rst')
-rw-r--r--Help/guide/tutorial/Selecting Static or Shared Libraries.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/guide/tutorial/Selecting Static or Shared Libraries.rst b/Help/guide/tutorial/Selecting Static or Shared Libraries.rst
index 1c49c23..7befe1d 100644
--- a/Help/guide/tutorial/Selecting Static or Shared Libraries.rst
+++ b/Help/guide/tutorial/Selecting Static or Shared Libraries.rst
@@ -65,7 +65,7 @@ At this point, if you build everything, you may notice that linking fails
as we are combining a static library without position independent code with a
library that has position independent code. The solution to this is to
explicitly set the :prop_tgt:`POSITION_INDEPENDENT_CODE` target property of
-SqrtLibrary to be ``True`` no matter the build type.
+SqrtLibrary to be ``True`` when building shared libraries.
.. literalinclude:: Step11/MathFunctions/CMakeLists.txt
:caption: MathFunctions/CMakeLists.txt