summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Complete/MathFunctions
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-06-30 18:04:25 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-06-30 18:04:25 (GMT)
commit849178c9d09246b74dc3fe60f3882c7f1082c9af (patch)
treed7bfdc4e889f116d5c27bd80e084168b858f15e7 /Help/guide/tutorial/Complete/MathFunctions
parente9be17ab42a9e9999f1897e7f0da8604b605ed70 (diff)
parent77ba7539adb805b154b778046eda491b40acf09e (diff)
downloadCMake-849178c9d09246b74dc3fe60f3882c7f1082c9af.zip
CMake-849178c9d09246b74dc3fe60f3882c7f1082c9af.tar.gz
CMake-849178c9d09246b74dc3fe60f3882c7f1082c9af.tar.bz2
Merge branch 'master' into fileapi-version-doc
Diffstat (limited to 'Help/guide/tutorial/Complete/MathFunctions')
-rw-r--r--Help/guide/tutorial/Complete/MathFunctions/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Help/guide/tutorial/Complete/MathFunctions/CMakeLists.txt b/Help/guide/tutorial/Complete/MathFunctions/CMakeLists.txt
index c911625..a47d5e0 100644
--- a/Help/guide/tutorial/Complete/MathFunctions/CMakeLists.txt
+++ b/Help/guide/tutorial/Complete/MathFunctions/CMakeLists.txt
@@ -57,7 +57,11 @@ set_property(TARGET MathFunctions PROPERTY VERSION "1.0.0")
set_property(TARGET MathFunctions PROPERTY SOVERSION "1")
# install rules
-install(TARGETS MathFunctions tutorial_compiler_flags
+set(installable_libs MathFunctions tutorial_compiler_flags)
+if(TARGET SqrtLibrary)
+ list(APPEND installable_libs SqrtLibrary)
+endif()
+install(TARGETS ${installable_libs}
DESTINATION lib
EXPORT MathFunctionsTargets)
install(FILES MathFunctions.h DESTINATION include)