Commit 3e61bdf6 authored by Frederik Schwarzer's avatar Frederik Schwarzer

Make it possible to compile with Clazy.

parent 17c7347d
...@@ -6,6 +6,10 @@ set(KF5_MIN_VERSION "5.15.0") ...@@ -6,6 +6,10 @@ set(KF5_MIN_VERSION "5.15.0")
find_package(ECM 1.2.0 REQUIRED NO_MODULE) 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}) 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) find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Core Gui Svg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment