mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user