summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Schwarzer <[email protected]>2016-04-27 22:44:32 +0200
committerFrederik Schwarzer <[email protected]>2016-04-27 22:44:32 +0200
commit3e61bdf65592c76e983c5829f98f1279f6fca2b0 (patch)
tree21f9cfe836fb2ce0e7a5d3918fb7a78d4b59a927
parent17c7347d56f0db1b856d36844b39e4440692fa9c (diff)
Make it possible to compile with Clazy.
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8a47526..f7d39f1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,6 +6,10 @@ set(KF5_MIN_VERSION "5.15.0")
find_package(ECM 1.2.0 REQUIRED NO_MODULE)
+if(ENABLE_CLAZY)
+ set(CMAKE_CXX_COMPILER clazy)
+endif()
+
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Core Gui Svg)