on fdefead help sign in
unity8/plugins/Cursor/CMakeLists.txt
28 lines 669 B history raw
1add_subdirectory(3rd_party)
3include_directories(
4 ${CMAKE_CURRENT_SOURCE_DIR}
5 ${CMAKE_CURRENT_SOURCE_DIR}/3rd_party/xcursor
6 ${Qt5Gui_PRIVATE_INCLUDE_DIRS}
7)
9set(QMLPLUGIN_SRC
10 plugin.cpp
11 MousePointer.cpp
12 CursorImageProvider.cpp
13 # We need to run moc on this header
14 ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/MirMousePointerInterface.h
15 )
17add_library(Cursor-qml SHARED
18 ${QMLPLUGIN_SRC}
19 )
21target_link_libraries(Cursor-qml
22 xcursorloader-static
23 ${QT5PLATFORM_SUPPORT_LDFLAGS}
26qt5_use_modules(Cursor-qml Qml Quick DBus Network Gui Sql Concurrent Svg)
28add_unity8_plugin(Cursor 1.0 Cursor TARGETS Cursor-qml)