@@ -93,8 +93,6 @@ enable_testing()
93include(autopilot)
93include(autopilot)
94declare_autopilot_test(unity8 ${CMAKE_SOURCE_DIR}/tests/autopilot/)
94declare_autopilot_test(unity8 ${CMAKE_SOURCE_DIR}/tests/autopilot/)
96−add_subdirectory(tests)
98set(SHELL_APP unity8)
96set(SHELL_APP unity8)
100set(shell_app_HDRS
98set(shell_app_HDRS
@@ -108,6 +106,7 @@ add_executable(${SHELL_APP}
109qt5_use_modules(${SHELL_APP} Qml Quick Test)
107qt5_use_modules(${SHELL_APP} Qml Quick Test)
110pkg_check_modules(XCB REQUIRED xcb)
108pkg_check_modules(XCB REQUIRED xcb)
109+pkg_check_modules(LAUNCHER_API REQUIRED unity-shell-launcher=2)
112if (NOT "${XCB_INCLUDE_DIRS}" STREQUAL "")
111if (NOT "${XCB_INCLUDE_DIRS}" STREQUAL "")
113 set_target_properties(${SHELL_APP} PROPERTIES INCLUDE_DIRECTORIES ${XCB_INCLUDE_DIRS})
112 set_target_properties(${SHELL_APP} PROPERTIES INCLUDE_DIRECTORIES ${XCB_INCLUDE_DIRS})
@@ -132,6 +131,7 @@ install(FILES ${QML_JS_FILES}
134# add subdirectories to build
133# add subdirectories to build
134+add_subdirectory(tests)
135add_subdirectory(plugins)
135add_subdirectory(plugins)
137# install subdirectories
137# install subdirectories