summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Step6/MathFunctions
diff options
context:
space:
mode:
authorMarkus Ferrell <markus.ferrell@kitware.com>2022-07-20 17:24:40 (GMT)
committerMarkus Ferrell <markus.ferrell@kitware.com>2022-08-08 21:15:48 (GMT)
commitccba87b05b022cc021580b65ae51bbae0002fadb (patch)
treee90c94d2bb65845b23c483dae801cfbd8cf498d3 /Help/guide/tutorial/Step6/MathFunctions
parentad20e7b2ae6e698b6778f0572f1a03fdf1fcacda (diff)
downloadCMake-ccba87b05b022cc021580b65ae51bbae0002fadb.zip
CMake-ccba87b05b022cc021580b65ae51bbae0002fadb.tar.gz
CMake-ccba87b05b022cc021580b65ae51bbae0002fadb.tar.bz2
Tutorial: Move step 10 to step 4
Shifts steps 4-9 to 5-10.
Diffstat (limited to 'Help/guide/tutorial/Step6/MathFunctions')
-rw-r--r--Help/guide/tutorial/Step6/MathFunctions/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Help/guide/tutorial/Step6/MathFunctions/CMakeLists.txt b/Help/guide/tutorial/Step6/MathFunctions/CMakeLists.txt
index b12f27d..226099a 100644
--- a/Help/guide/tutorial/Step6/MathFunctions/CMakeLists.txt
+++ b/Help/guide/tutorial/Step6/MathFunctions/CMakeLists.txt
@@ -6,6 +6,9 @@ target_include_directories(MathFunctions
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
)
+target_link_libraries(MathFunctions tutorial_compiler_flags)
+
# install rules
-install(TARGETS MathFunctions DESTINATION lib)
+set(installable_libs MathFunctions tutorial_compiler_flags)
+install(TARGETS ${installable_libs} DESTINATION lib)
install(FILES MathFunctions.h DESTINATION include)