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/Step7 | |
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/Step7')
-rw-r--r-- | Help/guide/tutorial/Step7/MathFunctions/CMakeLists.txt | 3 |
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 |