summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2022-08-18 22:44:46 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2022-08-18 22:46:32 -0400
commite941b031d316f74267350fe2373d30e28b3a2c2e (patch)
tree74ba8a26d18e12620290b1d82ee6e01cddc41720 /cmake
parent481d67d310a7a4213da72f838d6bafaa52ed01d3 (diff)
downloadllvm-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 'cmake')
-rw-r--r--cmake/Modules/GNUInstallPackageDir.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/GNUInstallPackageDir.cmake b/cmake/Modules/GNUInstallPackageDir.cmake
index e4e84b6fc057..e4a058e68f4f 100644
--- a/cmake/Modules/GNUInstallPackageDir.cmake
+++ b/cmake/Modules/GNUInstallPackageDir.cmake
@@ -29,5 +29,5 @@ macro(_GNUInstallPackageDir_cache_path var default description)
_GNUInstallPackageDir_cache_convert_to_path("${var}" "${description}")
endmacro()
-_GNUInstallPackageDir_cache_path(CMAKE_INSTALL_PACKAGEDIR "${CMAKE_INSTALL_LIBDIR}/cmake"
+_GNUInstallPackageDir_cache_path(CMAKE_INSTALL_PACKAGEDIR "lib${LLVM_LIBDIR_SUFFIX}/cmake"
"Directories containing installed CMake modules (lib/cmake)")