4
find_package(Qt5Core REQUIRED)
5
find_package(Qt5Quick REQUIRED)
6
pkg_search_module(DEE dee-1.0 REQUIRED)
7
pkg_search_module(GOBJECT gobject-2.0 REQUIRED)
8
pkg_search_module(DEEQT libdee-qt5 REQUIRED)
11
${CMAKE_SOURCE_DIR}/plugins/Unity
12
${CMAKE_CURRENT_BINARY_DIR}
13
${Qt5Core_INCLUDE_DIRS}
14
${Qt5Quick_INCLUDE_DIRS}
19
add_definitions(-DQT_NO_KEYWORDS)
22
${CMAKE_SOURCE_DIR}/plugins/Unity/categories.cpp
23
${CMAKE_SOURCE_DIR}/plugins/Unity/categoryfilter.cpp
24
${CMAKE_SOURCE_DIR}/plugins/Utils/qsortfilterproxymodelqml.cpp
28
fake_launchermodel.cpp
31
add_library(FakeUnityQml MODULE ${UnityQML_SOURCES})
32
target_link_libraries(FakeUnityQml
39
qt5_use_modules(FakeUnityQml Qml)
41
# copy qmldir file into build directory for shadow builds
42
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/qmldir"
43
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}