From e0fd7c9552732f6c50209e5e0bcf4f1e71eb2bb1 Mon Sep 17 00:00:00 2001 From: Matthias Kurtenacker Date: Mon, 7 Oct 2024 13:49:17 +0200 Subject: [PATCH] Allow default path for clang. This allowes system llvm to be used with testing enabled. --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index a1e3f70..3fe09e9 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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