aboutsummaryrefslogtreecommitdiffstats
path: root/ClazySources.cmake
diff options
context:
space:
mode:
authorSergio Martins <smartins@kde.org>2017-04-23 23:08:05 +0100
committerSergio Martins <smartins@kde.org>2017-04-23 23:08:05 +0100
commitd21eaf3541e52ef376387059ce1c801295c5d117 (patch)
tree67a1cc500c68111ea55de4a1693989ba155d4155 /ClazySources.cmake
parent1b3bc413e9b0eb70f127e7180cab0e0fd3b2295e (diff)
Tidy the CMake files
Moved oldstyleconnect.cpp to ClazySources.cmake, where it belongs.
Diffstat (limited to 'ClazySources.cmake')
-rw-r--r--ClazySources.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ClazySources.cmake b/ClazySources.cmake
index 582137c3..7e38e879 100644
--- a/ClazySources.cmake
+++ b/ClazySources.cmake
@@ -78,6 +78,10 @@ set(CLAZY_SRCS
${CMAKE_CURRENT_LIST_DIR}/src/Clazy.cpp
)
+if(HAS_STD_REGEX)
+ set(CLAZY_SRCS ${CLAZY_SRCS} ${CMAKE_CURRENT_LIST_DIR}/src/checks/level2/oldstyleconnect.cpp)
+endif()
+
if (NOT CLAZY_BUILD_UTILS_LIB)
set(CLAZY_SRCS ${CLAZY_SRCS} ${CLAZY_LIB_SRC})
endif()