[PATCH] D100810: [llvm] Use `GNUInstallDirs` to support custom installation dirs

Alexander Richardson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 17 06:57:17 PST 2022


arichardson added inline comments.


================
Comment at: llvm/CMakeLists.txt:5
 
+include(GNUInstallDirs)
+
----------------
arichardson wrote:
> This seems to be causing the following warning for me:
> 
> ```
> CMake Warning (dev) at /opt/clion-2021.2/bin/cmake/linux/share/cmake-3.20/Modules/GNUInstallDirs.cmake:236 (message):
>   Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
>   target architecture is known.  Please enable at least one language before
>   including GNUInstallDirs.
> ```
Moving it below `project(LLVM` should fix that, but I'm not sure if there is a reason that it's up here.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100810/new/

https://reviews.llvm.org/D100810



More information about the llvm-commits mailing list