summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Step12/MathFunctions
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-10-07 13:39:55 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-10-07 13:40:16 (GMT)
commita546a19385f26cb39c8ada3c146498036765fad7 (patch)
tree2166d0b4e5fa1b05fcbc083c8b2188a8a0459664 /Help/guide/tutorial/Step12/MathFunctions
parent7988e60ae2bac3fc4b19a89feb79f6881030ed65 (diff)
parent92edbce34271864a8c57c07b0ee289cd45b74d28 (diff)
downloadCMake-a546a19385f26cb39c8ada3c146498036765fad7.zip
CMake-a546a19385f26cb39c8ada3c146498036765fad7.tar.gz
CMake-a546a19385f26cb39c8ada3c146498036765fad7.tar.bz2
Merge topic 'tutorial_step5_update'
92edbce342 Tutorial: Update step 5 style Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7728
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)