We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 982efa0 commit 27b2d2eCopy full SHA for 27b2d2e
1 file changed
toolchains/coverage.cmake
@@ -6,7 +6,7 @@ if(ENABLE_COVERAGE)
6
add_compile_options(-O0 -g --coverage)
7
add_link_options(--coverage)
8
9
- elseif(CMAKE_C_COMPILER_ID STREQUAL "Clang")
+ elseif(CMAKE_C_COMPILER_ID STREQUAL "Clang" OR CMAKE_C_COMPILER_ID STREQUAL "AppleClang")
10
message(STATUS "Enabling Clang coverage with llvm-cov")
11
# Use GCC-style coverage for lcov compatibility
12
0 commit comments