From aba98b9e61bae7162bf7e0439d44720772adbdbb Mon Sep 17 00:00:00 2001 From: Alexander Viand Date: Mon, 24 Jun 2024 08:44:11 +0200 Subject: [PATCH] Always use Clang Toolchain Fixes #56 --- CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bfb8af71..adb79ce3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,12 @@ endif() # MLIR/LLVM currently (release 15-rc1) uses DEPFILE in their cmake, which has changed in new versions cmake_policy(SET CMP0116 OLD) +# ######################## +# Select Clang Toolchain # +# ######################## +SET(CMAKE_C_COMPILER "clang") +SET(CMAKE_CXX_COMPILER "clang++") + # ######################## # Project Configuration # # ######################## @@ -217,4 +223,4 @@ if(HECO_STANDALONE_BUILD) message("Enabling HECO Evaluation") enable_testing() add_subdirectory(evaluation) -endif() \ No newline at end of file +endif()