summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Step7/MathFunctions
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-09-08 13:04:46 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-09-08 13:04:43 (GMT)
commitc7c151051a2d773fd9c409cb2a6c7e8118b40dae (patch)
tree8a3f157ace1d668ac7ab2ed883afaab872506e98 /Help/guide/tutorial/Step7/MathFunctions
parent8aa20b554f074c79f4fab354fc0752b12847a17a (diff)
parenta94a4c12e159cce602cf44bf11c6e7087e957892 (diff)
downloadCMake-c7c151051a2d773fd9c409cb2a6c7e8118b40dae.zip
CMake-c7c151051a2d773fd9c409cb2a6c7e8118b40dae.tar.gz
CMake-c7c151051a2d773fd9c409cb2a6c7e8118b40dae.tar.bz2
Merge topic 'update-tutorial-step3'
a94a4c12e1 Tutorial: Fix-up typos and inconsistencies Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8779
Diffstat (limited to 'Help/guide/tutorial/Step7/MathFunctions')
-rw-r--r--Help/guide/tutorial/Step7/MathFunctions/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/guide/tutorial/Step7/MathFunctions/CMakeLists.txt b/Help/guide/tutorial/Step7/MathFunctions/CMakeLists.txt
index 897ec0e..a0b3037 100644
--- a/Help/guide/tutorial/Step7/MathFunctions/CMakeLists.txt
+++ b/Help/guide/tutorial/Step7/MathFunctions/CMakeLists.txt
@@ -16,6 +16,7 @@ if (USE_MYMATH)
mysqrt.cxx
)
+ # link SqrtLibrary to tutorial_compiler_flags
target_link_libraries(SqrtLibrary PUBLIC tutorial_compiler_flags)
# TODO 1: Include CheckCXXSourceCompiles
@@ -41,7 +42,7 @@ if (USE_MYMATH)
target_link_libraries(MathFunctions PRIVATE SqrtLibrary)
endif()
-# link our compiler flags interface library
+# link MathFunctions to tutorial_compiler_flags
target_link_libraries(MathFunctions PUBLIC tutorial_compiler_flags)
# install libs