ci: add clang code coverage check #10
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -16,7 +16,7 @@ endif ()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
add_option(ENABLE_LLVM_COVERAGE "Enables the code coverage instrumentation for clang")
 | 
					add_option(ENABLE_LLVM_COVERAGE "Enables the code coverage instrumentation for clang")
 | 
				
			||||||
if(ENABLE_LLVM_COVERAGE)
 | 
					if(ENABLE_LLVM_COVERAGE)
 | 
				
			||||||
    if (CMAKE_CXX_COMPILER_ID NOT STREQUAL "Clang")
 | 
					    if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
 | 
				
			||||||
        message(FATAL_ERROR "ENABLE_LLVM_COVERAGE only supports the clang compiler")
 | 
					        message(FATAL_ERROR "ENABLE_LLVM_COVERAGE only supports the clang compiler")
 | 
				
			||||||
    endif ()
 | 
					    endif ()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue