@@ -4,17 +4,16 @@ include(FindPkgConfig)
4find_package(Qt5Core REQUIRED)
4find_package(Qt5Core REQUIRED)
5find_package(Qt5Quick REQUIRED)
5find_package(Qt5Quick REQUIRED)
7−#TODO: fix this once unity-api is released to distro
7+pkg_check_modules(LAUNCHER_API REQUIRED unity-shell-launcher)
8−set(UNITY_API_DIR /home/mzanetti/Development/unity-api/include/)
10include_directories(
9include_directories(
11 ${CMAKE_CURRENT_SOURCE_DIR}
10 ${CMAKE_CURRENT_SOURCE_DIR}
12− ${UNITY_API_DIR}
11+ ${LAUNCHER_API_INCLUDEDIR}
15set(MockLauncherModel_SOURCES
14set(MockLauncherModel_SOURCES
15+ ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/LauncherItemInterface.h
16− ${UNITY_API_DIR}/unity/shell/launcher/LauncherModelInterface.h
16+ ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/LauncherModelInterface.h
17− ${UNITY_API_DIR}/unity/shell/launcher/LauncherItemInterface.h
18 plugin.cpp
17 plugin.cpp
19 MockLauncherModel.cpp
18 MockLauncherModel.cpp
20 MockLauncherItem.cpp
19 MockLauncherItem.cpp