summaryrefslogtreecommitdiff
path: root/Help/guide
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2021-01-07 12:19:57 -0500
committerBen Boeckel <ben.boeckel@kitware.com>2021-01-07 12:19:57 -0500
commite58a76de51962af2c2aaf851be5dd678c38ed0f7 (patch)
treebcfc8307063c63e9f3bec23f10607b6536184110 /Help/guide
parent05f4248e3d89bf9d779140cf60f511126756ab02 (diff)
downloadcmake-e58a76de51962af2c2aaf851be5dd678c38ed0f7.tar.gz
Help/guide: fix importing-exporting CMake install destinations
Diffstat (limited to 'Help/guide')
-rw-r--r--Help/guide/importing-exporting/MathFunctions/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/guide/importing-exporting/MathFunctions/CMakeLists.txt b/Help/guide/importing-exporting/MathFunctions/CMakeLists.txt
index 13c82dd10b..9a9e40ee23 100644
--- a/Help/guide/importing-exporting/MathFunctions/CMakeLists.txt
+++ b/Help/guide/importing-exporting/MathFunctions/CMakeLists.txt
@@ -31,7 +31,7 @@ install(FILES MathFunctions.h DESTINATION include)
install(EXPORT MathFunctionsTargets
FILE MathFunctionsTargets.cmake
NAMESPACE MathFunctions::
- DESTINATION lib/cmake
+ DESTINATION lib/cmake/MathFunctions
)
# include CMakePackageConfigHelpers macro
@@ -58,14 +58,14 @@ write_basic_package_version_file(
# create config file
configure_package_config_file(${CMAKE_CURRENT_SOURCE_DIR}/Config.cmake.in
"${CMAKE_CURRENT_BINARY_DIR}/MathFunctionsConfig.cmake"
- INSTALL_DESTINATION lib/cmake
+ INSTALL_DESTINATION lib/cmake/MathFunctions
)
# install config files
install(FILES
"${CMAKE_CURRENT_BINARY_DIR}/MathFunctionsConfig.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/MathFunctionsConfigVersion.cmake"
- DESTINATION lib/cmake
+ DESTINATION lib/cmake/MathFunctions
)
# generate the export targets for the build tree