summaryrefslogtreecommitdiffstats
path: root/Help/guide
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-12-01 14:46:49 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-12-01 14:47:08 (GMT)
commite73de3b9cc126612ef7b9203a07438262120bbfd (patch)
treefdd7bb9930e2e254d67f6b7e51a47129cdb3c164 /Help/guide
parentdbf0c8c2331d680847ebfe197b6991ff1f718643 (diff)
parent4f524797dc139967dbe25258642163d9cc1115f6 (diff)
downloadCMake-e73de3b9cc126612ef7b9203a07438262120bbfd.zip
CMake-e73de3b9cc126612ef7b9203a07438262120bbfd.tar.gz
CMake-e73de3b9cc126612ef7b9203a07438262120bbfd.tar.bz2
Merge topic 'tutorial-install-arg-order'
4f524797dc Tutorial: Order install(TARGETS) EXPORT option consistently with docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6770
Diffstat (limited to 'Help/guide')
-rw-r--r--Help/guide/tutorial/Complete/MathFunctions/CMakeLists.txt4
-rw-r--r--Help/guide/tutorial/Step12/MathFunctions/CMakeLists.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/Help/guide/tutorial/Complete/MathFunctions/CMakeLists.txt b/Help/guide/tutorial/Complete/MathFunctions/CMakeLists.txt
index a47d5e0..40b9fd2 100644
--- a/Help/guide/tutorial/Complete/MathFunctions/CMakeLists.txt
+++ b/Help/guide/tutorial/Complete/MathFunctions/CMakeLists.txt
@@ -62,6 +62,6 @@ if(TARGET SqrtLibrary)
list(APPEND installable_libs SqrtLibrary)
endif()
install(TARGETS ${installable_libs}
- DESTINATION lib
- EXPORT MathFunctionsTargets)
+ EXPORT MathFunctionsTargets
+ DESTINATION lib)
install(FILES MathFunctions.h DESTINATION include)
diff --git a/Help/guide/tutorial/Step12/MathFunctions/CMakeLists.txt b/Help/guide/tutorial/Step12/MathFunctions/CMakeLists.txt
index ea3861c..d5961da 100644
--- a/Help/guide/tutorial/Step12/MathFunctions/CMakeLists.txt
+++ b/Help/guide/tutorial/Step12/MathFunctions/CMakeLists.txt
@@ -58,6 +58,6 @@ if(TARGET SqrtLibrary)
list(APPEND installable_libs SqrtLibrary)
endif()
install(TARGETS ${installable_libs}
- DESTINATION lib
- EXPORT MathFunctionsTargets)
+ EXPORT MathFunctionsTargets
+ DESTINATION lib)
install(FILES MathFunctions.h DESTINATION include)