From 4ba5dd2100da44a18175de3340c88af2baf2e642 Mon Sep 17 00:00:00 2001 From: Pei Jia Date: Thu, 9 May 2024 11:35:36 -0700 Subject: [PATCH] I use llvm-18 --- 3rdparty/find_dependencies.cmake | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/3rdparty/find_dependencies.cmake b/3rdparty/find_dependencies.cmake index d929b27728a..be895018584 100644 --- a/3rdparty/find_dependencies.cmake +++ b/3rdparty/find_dependencies.cmake @@ -1311,15 +1311,8 @@ 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-18/lib /usr/lib/llvm-15/lib - /usr/lib/llvm-14/lib - /usr/lib/llvm-13/lib - /usr/lib/llvm-12/lib - /usr/lib/llvm-11/lib - /usr/lib/llvm-10/lib - /usr/lib/llvm-9/lib - /usr/lib/llvm-8/lib - /usr/lib/llvm-7/lib ) foreach(llvm_lib_dir in ${ubuntu_default_llvm_lib_dirs}) message(STATUS "Searching ${llvm_lib_dir} for libc++ and libc++abi") @@ -1337,15 +1330,8 @@ if(BUILD_GUI) # is not enforced by CMake. if (NOT CLANG_LIBDIR) find_library(CPPABI_LIBRARY c++abi PATH_SUFFIXES + llvm-18/lib llvm-15/lib - llvm-14/lib - llvm-13/lib - llvm-12/lib - llvm-11/lib - llvm-10/lib - llvm-9/lib - llvm-8/lib - llvm-7/lib ) get_filename_component(CLANG_LIBDIR ${CPPABI_LIBRARY} DIRECTORY) endif()