diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-07 17:19:57 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-07 17:19:57 (GMT) |
commit | e58a76de51962af2c2aaf851be5dd678c38ed0f7 (patch) | |
tree | bcfc8307063c63e9f3bec23f10607b6536184110 /Help | |
parent | 05f4248e3d89bf9d779140cf60f511126756ab02 (diff) | |
download | CMake-e58a76de51962af2c2aaf851be5dd678c38ed0f7.zip CMake-e58a76de51962af2c2aaf851be5dd678c38ed0f7.tar.gz CMake-e58a76de51962af2c2aaf851be5dd678c38ed0f7.tar.bz2 |
Help/guide: fix importing-exporting CMake install destinations
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 |