You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
669 B

add_definitions(-DTRANSLATION_DOMAIN=\"plasma_runner_windows\")
set(krunner_windows_SRCS
windowsrunner.cpp
)
add_library(krunner_windows MODULE ${krunner_windows_SRCS})
target_link_libraries(krunner_windows Qt5::Widgets KF5::WindowSystem KF5::I18n KF5::Runner)
configure_file(config-windowsrunner.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-windowsrunner.h)
if(HAVE_X11)
target_link_libraries(krunner_windows ${X11_LIBRARIES} XCB::XCB )
target_link_libraries(krunner_windows Qt5::X11Extras)
endif()
install(TARGETS krunner_windows DESTINATION ${KDE_INSTALL_PLUGINDIR} )
install(FILES plasma-runner-windows.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})