on xenial help sign in
Fix failure to build when using the ./build script with ninja-build installed. Fixes: https://bugs.launchpad.net/bugs/1268525.

Approved by Michał Sawicz, PS Jenkins bot.

commitc88c02e85b56bfc0b3095212c163e88346491e11 authorMichael Terry <michael.terry@canonical.com> dateWed 15 Jan 2014, 07:19 (13 years ago) parentd8b7fd5543f859
2 files changed+2−1
tests/mocks/LightDM/CMakeLists.txt+1−1 tests/plugins/LightDM/CMakeLists.txt+1
tests/mocks/LightDM/CMakeLists.txt+1−1
@@ -33,7 +33,7 @@ add_library(MockLightDM-qml MODULE
3333# installed on the system. So we make sure we link to our full fake version
3434# At run time, we can point to whichever version we happen to be using via
3535# LD_LIBRARY_PATH.
36−add_dependencies(MockLightDM-qml MockLightDM-full)
36+add_dependencies(MockLightDM-qml MockLightDM-full MockUserMetrics)
3737target_link_libraries(MockLightDM-qml
3838 -L${CMAKE_CURRENT_BINARY_DIR}/full
3939 -llightdm-qt5-2
tests/plugins/LightDM/CMakeLists.txt+1
@@ -11,6 +11,7 @@ include_directories(
1111 ${LIBLIGHTDM_INCLUDE_DIRS}
1212 )
1313
14+add_dependencies(test-lightdm-dbus MockLightDM-full)
1415target_link_libraries(test-lightdm-dbus
1516 -L${CMAKE_BINARY_DIR}/tests/mocks/LightDM/full
1617 -llightdm-qt5-2