From 11ad1e9668e63ee50bfee9e5dddbf7a522ed2e51 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Tue, 10 Aug 2021 22:23:13 +0200 Subject: [PATCH] remove: build with clang --- CMakeLists.txt | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ac752d0..ed2d0b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,17 +1,12 @@ cmake_minimum_required(VERSION 3.13.4) +set(CMAKE_C_COMPILER gcc) +set(CMAKE_C_FLAGS "-Wall") + set(BINPATH "/usr/local/bin") set(LIBPATH "/usr/local/lib") set(HEADERPATH "/usr/local/include") -if (LLVM_BUILD_TOOLS) - set(CMAKE_C_COMPILER clang) - set(CMAKE_C_FLAGS "-Wall") -else() - set(CMAKE_C_COMPILER gcc) - set(CMAKE_C_FLAGS "-Wall") -endif() - project(discspan) if (ALLINONE) -- 2.39.5