There was an error while loading. Please reload this page.
1 parent 61fda12 commit ae70039Copy full SHA for ae70039
cmake/Sanitizers.cmake
@@ -1,7 +1,7 @@
1
function(enable_sanitizers project_name)
2
3
- if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL
4
- "Clang")
+ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES
+ "*Clang")
5
option(ENABLE_COVERAGE "Enable coverage reporting for gcc/clang" FALSE)
6
7
if(ENABLE_COVERAGE)
0 commit comments