diff options
author | betsy.mcphail <betsy.mcphail@kitware.com> | 2023-09-07 14:57:19 (GMT) |
---|---|---|
committer | betsy.mcphail <betsy.mcphail@kitware.com> | 2023-09-07 14:57:19 (GMT) |
commit | a94a4c12e159cce602cf44bf11c6e7087e957892 (patch) | |
tree | 4f8272d1f090fb4a61fb6beba167a9dd9a0edbf0 /Help/guide/tutorial/Step4/MathFunctions | |
parent | 1c5e4b60b1776504fb75878dda05a5e7c862decb (diff) | |
download | CMake-a94a4c12e159cce602cf44bf11c6e7087e957892.zip CMake-a94a4c12e159cce602cf44bf11c6e7087e957892.tar.gz CMake-a94a4c12e159cce602cf44bf11c6e7087e957892.tar.bz2 |
Tutorial: Fix-up typos and inconsistencies
* Fix typo in Step 2
* Fix incorrect code referenced in Step 3, TODO 7. Update comments in
MathFunctions/CMakeLists.txt to unique strings.
* Resolve inconsistencies between steps in MathFunctions/CMakeLists.txt
Diffstat (limited to 'Help/guide/tutorial/Step4/MathFunctions')
-rw-r--r-- | Help/guide/tutorial/Step4/MathFunctions/CMakeLists.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Help/guide/tutorial/Step4/MathFunctions/CMakeLists.txt b/Help/guide/tutorial/Step4/MathFunctions/CMakeLists.txt index 48561eb..6931898 100644 --- a/Help/guide/tutorial/Step4/MathFunctions/CMakeLists.txt +++ b/Help/guide/tutorial/Step4/MathFunctions/CMakeLists.txt @@ -17,10 +17,11 @@ if (USE_MYMATH) mysqrt.cxx ) - # link our compiler flags interface library + # link SqrtLibrary to tutorial_compiler_flags target_link_libraries(SqrtLibrary PUBLIC tutorial_compiler_flags) - target_link_libraries(MathFunctions PUBLIC SqrtLibrary) + + 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) |