summaryrefslogtreecommitdiffstats
path: root/Help/guide
diff options
context:
space:
mode:
authorJoachim Wuttke (h) <j.wuttke@fz-juelich.de>2021-11-28 22:10:08 (GMT)
committerBrad King <brad.king@kitware.com>2021-11-30 17:23:56 (GMT)
commit4f524797dc139967dbe25258642163d9cc1115f6 (patch)
treefac0cdd4e531e429d1a7fd9d2b63f90574a81ebb /Help/guide
parentdea324f8041753bceec6a09fc6420569ef6817a1 (diff)
downloadCMake-4f524797dc139967dbe25258642163d9cc1115f6.zip
CMake-4f524797dc139967dbe25258642163d9cc1115f6.tar.gz
CMake-4f524797dc139967dbe25258642163d9cc1115f6.tar.bz2
Tutorial: Order install(TARGETS) EXPORT option consistently with docs
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)