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/Step11/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/Step11/MathFunctions')
| -rw-r--r-- | Help/guide/tutorial/Step11/MathFunctions/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/guide/tutorial/Step11/MathFunctions/CMakeLists.txt b/Help/guide/tutorial/Step11/MathFunctions/CMakeLists.txt index 813bf90..eacc538 100644 --- a/Help/guide/tutorial/Step11/MathFunctions/CMakeLists.txt +++ b/Help/guide/tutorial/Step11/MathFunctions/CMakeLists.txt @@ -31,10 +31,13 @@ if(USE_MYMATH) POSITION_INDEPENDENT_CODE ${BUILD_SHARED_LIBS} ) + # link SqrtLibrary to tutorial_compiler_flags target_link_libraries(SqrtLibrary PUBLIC tutorial_compiler_flags) + target_link_libraries(MathFunctions PRIVATE SqrtLibrary) endif() +# link MathFunctions to tutorial_compiler_flags target_link_libraries(MathFunctions PUBLIC tutorial_compiler_flags) # define the symbol stating we are using the declspec(dllexport) when |
