on xenial help sign in
use real unity-api api also for tests
commitd146c55e11efdd7840fb88d6880c071d7b54666c authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 3 Jul 2013, 10:50 (13 years ago) parent5395fe8
1 file changed+4−5
tests/mocks/Unity/Launcher/CMakeLists.txt+4−5
tests/mocks/Unity/Launcher/CMakeLists.txt+4−5
@@ -4,17 +4,16 @@ include(FindPkgConfig)
44find_package(Qt5Core REQUIRED)
55find_package(Qt5Quick REQUIRED)
66
7−#TODO: fix this once unity-api is released to distro
8−set(UNITY_API_DIR /home/mzanetti/Development/unity-api/include/)
7+pkg_check_modules(LAUNCHER_API REQUIRED unity-shell-launcher)
98
109include_directories(
1110 ${CMAKE_CURRENT_SOURCE_DIR}
12− ${UNITY_API_DIR}
11+ ${LAUNCHER_API_INCLUDEDIR}
1312)
1413
1514set(MockLauncherModel_SOURCES
16− ${UNITY_API_DIR}/unity/shell/launcher/LauncherModelInterface.h
17− ${UNITY_API_DIR}/unity/shell/launcher/LauncherItemInterface.h
15+ ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/LauncherItemInterface.h
16+ ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/LauncherModelInterface.h
1817 plugin.cpp
1918 MockLauncherModel.cpp
2019 MockLauncherItem.cpp