[PATCH] D136573: [llvm] [cmake] Silence GNUInstallDirs warning in LLVMInstallSymlink
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 27 23:49:48 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG89f77be94ff8: [llvm] [cmake] Silence GNUInstallDirs warning in LLVMInstallSymlink (authored by mgorny).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136573/new/
https://reviews.llvm.org/D136573
Files:
llvm/cmake/modules/LLVMInstallSymlink.cmake
Index: llvm/cmake/modules/LLVMInstallSymlink.cmake
===================================================================
--- llvm/cmake/modules/LLVMInstallSymlink.cmake
+++ llvm/cmake/modules/LLVMInstallSymlink.cmake
@@ -2,6 +2,9 @@
# DESTDIR environment variable may be unset at configuration time.
# See PR8397.
+# Set to an arbitrary directory to silence GNUInstallDirs warnings
+# regarding being unable to determine libdir.
+set(CMAKE_INSTALL_LIBDIR "lib")
include(GNUInstallDirs)
function(install_symlink name target outdir)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136573.471411.patch
Type: text/x-patch
Size: 537 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221028/c5db9f23/attachment.bin>
More information about the llvm-commits
mailing list