From d7ceb5484c8da9b0c3b701a06f89ec063ac6c430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 23 Jul 2013 10:59:57 +0200 Subject: [PATCH] Make kwin/killer compile again --- killer/CMakeLists.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/killer/CMakeLists.txt b/killer/CMakeLists.txt index ef71faa731..2f00f4c9dd 100644 --- a/killer/CMakeLists.txt +++ b/killer/CMakeLists.txt @@ -4,7 +4,15 @@ set(kwin_killer_helper_SRCS killer.cpp ) kde4_add_executable(kwin_killer_helper ${kwin_killer_helper_SRCS}) +set_target_properties(kwin_killer_helper PROPERTIES COMPILE_FLAGS ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}) -target_link_libraries(kwin_killer_helper ${KDE4_KDEUI_LIBS}) +target_link_libraries(kwin_killer_helper + ${Qt5Widgets_LIBRARIES} + ${KDE4Support_LIBRARIES} # KCmdLineArgs + ${KDE4_KDECORE_LIBS} # kdebug + KF5::KAuth + KF5::KWidgets + KF5::KWidgetsAddons +) install(TARGETS kwin_killer_helper DESTINATION ${LIBEXEC_INSTALL_DIR} )