From: Bastian Dehn Date: Thu, 14 Mar 2024 15:25:18 +0000 (+0100) Subject: test on only warnings X-Git-Tag: v1.0.0^2~79 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=3af4752a9e803e24766d4c2942694e18215cd32e;p=sane-kds-s2000w-net.git test on only warnings --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 9839067..f073208 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ set(CMAKE_C_COMPILER gcc CACHE STRING "compiler") if (NOT RUN_TESTS) set(CMAKE_C_FLAGS "-Wall -Werror" CACHE STRING "compiler flags") else() - set(CMAKE_C_FLAGS "-fPIC -fprofile-arcs -ftest-coverage -Wall -Werror" CACHE STRING "test coverage compiler flags") + set(CMAKE_C_FLAGS "-fPIC -fprofile-arcs -ftest-coverage -Wall" CACHE STRING "test coverage compiler flags") endif() message(STATUS "CMAKE_C_FLAGS " ${CMAKE_C_FLAGS})