[all-commits] [llvm/llvm-project] 89f77b: [llvm] [cmake] Silence GNUInstallDirs warning in L...
Michał Górny via All-commits
all-commits at lists.llvm.org
Thu Oct 27 23:49:47 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 89f77be94ff8bcbe3691e7b9a82faee59bd29f11
https://github.com/llvm/llvm-project/commit/89f77be94ff8bcbe3691e7b9a82faee59bd29f11
Author: Michał Górny <mgorny at gentoo.org>
Date: 2022-10-28 (Fri, 28 Oct 2022)
Changed paths:
M llvm/cmake/modules/LLVMInstallSymlink.cmake
Log Message:
-----------
[llvm] [cmake] Silence GNUInstallDirs warning in LLVMInstallSymlink
Set a dummy CMAKE_INSTALL_LIBDIR in order to silence the following CMake
warning when executing LLVMInstallSymlink.cmake script:
CMake Warning (dev) at /usr/share/cmake/Modules/GNUInstallDirs.cmake:243 (message):
Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
target architecture is known. Please enable at least one language before
including GNUInstallDirs.
Call Stack (most recent call first):
/usr/lib/llvm/16/lib64/cmake/llvm/LLVMInstallSymlink.cmake:5 (include)
tools/lld/cmake_install.cmake:66 (include)
cmake_install.cmake:52 (include)
Differential Revision: https://reviews.llvm.org/D136573
More information about the All-commits
mailing list