kwin/killer/CMakeLists.txt
Martin Gräßlin a536e07488 Use kdeqt5staging for QCommandLineParser
Makes it also compile with not latest Qt.
2013-08-29 16:22:30 +02:00

19 lines
570 B
CMake

########### next target ###############
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
Qt5::Widgets
Qt5::X11Extras
${KInterProcessWindowing_LIBRARY}
KF5::KAuth
KF5::KI18n
KF5::KWidgetsAddons
kdeqt5staging # TODO: remove once QCommandLineParser is dropped
)
install(TARGETS kwin_killer_helper DESTINATION ${LIBEXEC_INSTALL_DIR} )