diff options
author | Brad King <brad.king@kitware.com> | 2021-01-08 14:12:02 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-01-08 14:12:08 (GMT) |
commit | 90cd5df20c9eab3c2a10d41bd9829e40ae68bc45 (patch) | |
tree | daec726c9cff9ea32a411ad6708733045eed16c3 /Help | |
parent | 8ced3b10ad54ba993d51686ecf8bb0e231687b83 (diff) | |
parent | e58a76de51962af2c2aaf851be5dd678c38ed0f7 (diff) | |
download | CMake-90cd5df20c9eab3c2a10d41bd9829e40ae68bc45.zip CMake-90cd5df20c9eab3c2a10d41bd9829e40ae68bc45.tar.gz CMake-90cd5df20c9eab3c2a10d41bd9829e40ae68bc45.tar.bz2 |
Merge topic 'Help-guide-import-export-dest'
e58a76de51 Help/guide: fix importing-exporting CMake install destinations
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5674
Diffstat (limited to 'Help')
-rw-r--r-- | Help/guide/importing-exporting/MathFunctions/CMakeLists.txt | 6 |
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 13c82dd..9a9e40e 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 |