Remove duplicate target_sources

This commit is contained in:
Albert Vaca Cintora 2023-08-08 17:01:21 +02:00
parent 47cb369e01
commit b97cbaa5d0

View file

@ -2,10 +2,8 @@ kdeconnect_add_plugin(kdeconnect_mousepad SOURCES mousepadplugin.cpp abstractrem
if(UNIX AND NOT APPLE) if(UNIX AND NOT APPLE)
target_sources(kdeconnect_mousepad PUBLIC waylandremoteinput.cpp ${SRCS}) target_sources(kdeconnect_mousepad PUBLIC waylandremoteinput.cpp ${SRCS})
target_sources(kdeconnect_mousepad PRIVATE ${wayland_SRCS}) target_sources(kdeconnect_mousepad PRIVATE ${wayland_SRCS})
target_link_libraries(kdeconnect_mousepad Wayland::Client Qt::WaylandClient PkgConfig::XkbCommon) target_link_libraries(kdeconnect_mousepad Wayland::Client Qt::WaylandClient PkgConfig::XkbCommon)
target_sources(kdeconnect_mousepad PUBLIC waylandremoteinput.cpp)
if (WITH_X11) if (WITH_X11)
find_package(LibFakeKey REQUIRED) find_package(LibFakeKey REQUIRED)