summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Step12/MathFunctions
diff options
context:
space:
mode:
authorMarkus Ferrell <markus.ferrell@kitware.com>2022-09-19 21:27:03 (GMT)
committerMarkus Ferrell <markus.ferrell@kitware.com>2022-10-06 16:08:43 (GMT)
commit92edbce34271864a8c57c07b0ee289cd45b74d28 (patch)
treeac0852e68c7606119ea12693075f17a083fbcedb /Help/guide/tutorial/Step12/MathFunctions
parentcadcb6a5f0e1ebaefd74f8c52151e410c57cfa96 (diff)
downloadCMake-92edbce34271864a8c57c07b0ee289cd45b74d28.zip
CMake-92edbce34271864a8c57c07b0ee289cd45b74d28.tar.gz
CMake-92edbce34271864a8c57c07b0ee289cd45b74d28.tar.bz2
Tutorial: Update step 5 style
Diffstat (limited to 'Help/guide/tutorial/Step12/MathFunctions')
-rw-r--r--Help/guide/tutorial/Step12/MathFunctions/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/guide/tutorial/Step12/MathFunctions/CMakeLists.txt b/Help/guide/tutorial/Step12/MathFunctions/CMakeLists.txt
index d5961da..a85f3cb 100644
--- a/Help/guide/tutorial/Step12/MathFunctions/CMakeLists.txt
+++ b/Help/guide/tutorial/Step12/MathFunctions/CMakeLists.txt
@@ -52,7 +52,7 @@ target_link_libraries(MathFunctions PUBLIC tutorial_compiler_flags)
# building on windows
target_compile_definitions(MathFunctions PRIVATE "EXPORTING_MYMATH")
-# install rules
+# install libs
set(installable_libs MathFunctions tutorial_compiler_flags)
if(TARGET SqrtLibrary)
list(APPEND installable_libs SqrtLibrary)
@@ -60,4 +60,5 @@ endif()
install(TARGETS ${installable_libs}
EXPORT MathFunctionsTargets
DESTINATION lib)
+# install include headers
install(FILES MathFunctions.h DESTINATION include)