Skip to content
Snippets Groups Projects
Commit 80590802 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

FIX: Debug building works now without clang-tidy installed.

parent a103192c
No related branches found
No related tags found
2 merge requests!33Release 0.1,!30Debug build
Pipeline #14808 failed
...@@ -252,7 +252,7 @@ endfunction() ...@@ -252,7 +252,7 @@ endfunction()
option(LINTING "Enable linting with clang-tidy and iwyu when in non-Debug build-type" OFF) option(LINTING "Enable linting with clang-tidy and iwyu when in non-Debug build-type" OFF)
if("${CMAKE_BUILD_TYPE}" MATCHES "Debug" OR LINTING) if (clang_tidy AND ("${CMAKE_BUILD_TYPE}" MATCHES "Debug" OR LINTING))
set(_LINTING ON) set(_LINTING ON)
endif() endif()
option(SKIP_LINTING "Skip linting even when in Debug build-type" OFF) option(SKIP_LINTING "Skip linting even when in Debug build-type" OFF)
......
...@@ -145,7 +145,7 @@ endif() ...@@ -145,7 +145,7 @@ endif()
find_library(covlib NAMES gcov lcov) find_library(covlib NAMES gcov lcov)
message(STATUS "covlib: >${covlib}<") message(STATUS "covlib: >${covlib}<")
if (${covlib} STREQUAL "covlib-NOTFOUND") if (${covlib} STREQUAL "covlib-NOTFOUND")
message(Warning "lcov or gcov libraries not found, skipping code coverage.") message(STATUS "lcov or gcov libraries not found, skipping code coverage.")
return() return()
endif() endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment