2014-06-27 14:41:47 +01:00
|
|
|
set(kdeconnect_mousepad_SRCS
|
|
|
|
mousepadplugin.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
find_package(XTest REQUIRED)
|
|
|
|
find_package(X11 REQUIRED)
|
2014-08-27 14:35:21 +01:00
|
|
|
find_package(LibFakeKey REQUIRED)
|
2015-07-02 13:49:38 +01:00
|
|
|
find_package(Qt5X11Extras REQUIRED)
|
2014-06-27 14:41:47 +01:00
|
|
|
|
2015-03-19 15:36:53 +00:00
|
|
|
kdeconnect_add_plugin(kdeconnect_mousepad JSON kdeconnect_mousepad.json SOURCES ${kdeconnect_mousepad_SRCS})
|
2014-06-27 14:41:47 +01:00
|
|
|
|
2014-08-27 14:35:21 +01:00
|
|
|
include_directories(${XTEST_INCLUDE_DIRS} ${X11_INCLUDE_DIR} ${LibFakeKey_INCLUDE_DIRS})
|
2014-06-27 14:41:47 +01:00
|
|
|
|
2015-07-02 13:49:38 +01:00
|
|
|
target_link_libraries(kdeconnect_mousepad kdeconnectcore Qt5::Gui Qt5::X11Extras ${X11_LIBRARIES} ${XTEST_LIBRARIES} ${LibFakeKey_LIBRARIES})
|