Skip to content

Commit

Permalink
Allow default path for clang. This allowes system llvm to be used with
Browse files Browse the repository at this point in the history
testing enabled.
  • Loading branch information
m-kurtenacker committed Oct 7, 2024
1 parent e24df60 commit e0fd7c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ if (Thorin_HAS_LLVM_SUPPORT)
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)

if (NOT TARGET clang)
find_package(Clang REQUIRED CONFIG PATHS ${LLVM_DIR}/../clang NO_DEFAULT_PATH)
find_package(Clang REQUIRED CONFIG PATHS ${LLVM_DIR}/../clang)
endif()

# Compile the helper functions into an object file
Expand Down

0 comments on commit e0fd7c9

Please sign in to comment.