From 66c05b32836390833201cbbea6d0cbd1a3ae7f2d Mon Sep 17 00:00:00 2001 From: Reini Urban Date: Mon, 17 Jun 2024 13:48:47 +0200 Subject: [PATCH] cmake: add llvm version deps for c++ --- 3rdparty/find_dependencies.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/3rdparty/find_dependencies.cmake b/3rdparty/find_dependencies.cmake index 45555b83a84..1db3494e3ed 100644 --- a/3rdparty/find_dependencies.cmake +++ b/3rdparty/find_dependencies.cmake @@ -1311,6 +1311,10 @@ if(BUILD_GUI) # search path. LLVM version must be >= 7 to compile Filament. if (NOT CLANG_LIBDIR) set(ubuntu_default_llvm_lib_dirs + /usr/lib/llvm-19/lib + /usr/lib/llvm-18/lib + /usr/lib/llvm-17/lib + /usr/lib/llvm-16/lib /usr/lib/llvm-15/lib /usr/lib/llvm-14/lib /usr/lib/llvm-13/lib @@ -1337,6 +1341,10 @@ if(BUILD_GUI) # is not enforced by CMake. if (NOT CLANG_LIBDIR) find_library(CPPABI_LIBRARY c++abi PATH_SUFFIXES + llvm-19/lib + llvm-18/lib + llvm-17/lib + llvm-16/lib llvm-15/lib llvm-14/lib llvm-13/lib