Skip to content

Commit

Permalink
cmake: add llvm version deps for c++ (#6832)
Browse files Browse the repository at this point in the history
Co-authored-by: Reini Urban <reini@spexai.com>
  • Loading branch information
rurban and Reini Urban authored Jun 18, 2024
1 parent ad17a26 commit ef44ea1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions 3rdparty/find_dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ef44ea1

Please sign in to comment.