aboutsummaryrefslogtreecommitdiffstats
path: root/ClazySources.cmake
diff options
context:
space:
mode:
authorIvan Donchevskii <ivan.donchevskii@qt.io>2018-01-03 06:44:44 -0800
committerSergio Martins <iamsergio@gmail.com>2018-01-03 06:51:29 -0800
commit427ad7689ac65bc4106c0a420c1165cc57f1eef7 (patch)
treef3ede02a01702f43a7f954ba1caedd388148fb9a /ClazySources.cmake
parentd565fdb04882bcf827b6b594dc85feadf6d056e7 (diff)
Add option to build clazy into libclang
To use when building clang. Will make it easier for QtCreator update clazy. REVIEW: D9598
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()