aboutsummaryrefslogtreecommitdiffstats
path: root/ClazySources.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ClazySources.cmake')
-rw-r--r--ClazySources.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/ClazySources.cmake b/ClazySources.cmake
index 489cf7d3..74d85fcf 100644
--- a/ClazySources.cmake
+++ b/ClazySources.cmake
@@ -88,7 +88,7 @@ set(CLAZY_CHECKS_SRCS
${CMAKE_CURRENT_LIST_DIR}/src/checks/ruleofbase.cpp
)
-if(HAS_STD_REGEX)
+if(HAS_STD_REGEX OR CLAZY_BUILD_WITH_CLANG)
set(CLAZY_CHECKS_SRCS ${CLAZY_CHECKS_SRCS} ${CMAKE_CURRENT_LIST_DIR}/src/checks/level2/oldstyleconnect.cpp)
endif()