7b110f0671
It's basically a run of the port-cmake.sh script in here, mostly the changes are the following: - Using KF5::* targets - Using the proper macros, following recent developments in frameworks
17 lines
459 B
CMake
17 lines
459 B
CMake
########### next target ###############
|
|
|
|
set(kwin_killer_helper_SRCS killer.cpp )
|
|
|
|
|
|
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
|
|
KF5::KAuth
|
|
KF5::KI18n
|
|
KF5::KWidgetsAddons
|
|
)
|
|
|
|
install(TARGETS kwin_killer_helper DESTINATION ${LIBEXEC_INSTALL_DIR} )
|