2018-12-21 18:23:49 +00:00
|
|
|
if(WIN32)
|
|
|
|
set(kdeconnect_mpriscontrol_SRCS
|
|
|
|
mpriscontrolplugin-win.cpp
|
|
|
|
)
|
|
|
|
else()
|
|
|
|
set(kdeconnect_mpriscontrol_SRCS
|
|
|
|
mpriscontrolplugin.cpp
|
|
|
|
)
|
|
|
|
endif()
|
2013-08-13 05:35:58 +01:00
|
|
|
|
2023-07-20 14:31:40 +01:00
|
|
|
kdeconnect_add_plugin(kdeconnect_mpriscontrol SOURCES ${kdeconnect_mpriscontrol_SRCS})
|
|
|
|
|
2018-12-21 18:23:49 +00:00
|
|
|
if(WIN32)
|
2020-05-29 17:49:20 +01:00
|
|
|
target_link_libraries(kdeconnect_mpriscontrol kdeconnectcore windowsapp)
|
2018-12-21 18:23:49 +00:00
|
|
|
else()
|
2023-07-24 13:18:47 +01:00
|
|
|
target_link_libraries(kdeconnect_mpriscontrol Qt::DBus kdeconnectcore kdeconnectinterfaces)
|
2019-12-22 07:49:55 +00:00
|
|
|
endif()
|