diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2022-08-18 22:44:46 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2022-08-18 22:46:32 -0400 |
commit | e941b031d316f74267350fe2373d30e28b3a2c2e (patch) | |
tree | 74ba8a26d18e12620290b1d82ee6e01cddc41720 /third-party | |
parent | 481d67d310a7a4213da72f838d6bafaa52ed01d3 (diff) | |
download | llvm-e941b031d316f74267350fe2373d30e28b3a2c2e.tar.gz |
Revert "[cmake] Use `CMAKE_INSTALL_LIBDIR` too"
This reverts commit f7a33090a91015836497c75f173775392ab0304d.
Unfortunately this causes a number of failures that didn't show up in my
local build.
Diffstat (limited to 'third-party')
-rw-r--r-- | third-party/benchmark/src/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/third-party/benchmark/src/CMakeLists.txt b/third-party/benchmark/src/CMakeLists.txt index 7140e8f04972..e814a4e00f7c 100644 --- a/third-party/benchmark/src/CMakeLists.txt +++ b/third-party/benchmark/src/CMakeLists.txt @@ -79,7 +79,7 @@ include(CMakePackageConfigHelpers) configure_package_config_file ( ${PROJECT_SOURCE_DIR}/cmake/Config.cmake.in ${project_config} - INSTALL_DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}" + INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME} NO_SET_AND_CHECK_MACRO NO_CHECK_REQUIRED_COMPONENTS_MACRO ) @@ -100,8 +100,8 @@ if (BENCHMARK_ENABLE_INSTALL) install( TARGETS ${targets_to_export} EXPORT ${targets_export_name} - ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" - LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) |