From 9ec2272dc3d6c7e131b3d4d26b06a48b6565e68b Mon Sep 17 00:00:00 2001 From: Bernd Steinhauser Date: Thu, 28 Aug 2014 23:11:30 +0200 Subject: [PATCH] Fix target dependencies. --- CMakeLists.txt | 1 + tests/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index cbac33a1d0..5ce8635399 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -580,6 +580,7 @@ install(TARGETS kwin_x11 ${INSTALL_TARGETS_DEFAULT_ARGS} ) if(Wayland_Client_FOUND AND XKB_FOUND) kf5_add_kdeinit_executable(kwin_wayland main_wayland.cpp) target_link_libraries(kdeinit_kwin_wayland kwin) + add_dependencies(kdeinit_kwin_wayland wayland-client-fullscreen-shell) install(TARGETS kdeinit_kwin_wayland ${INSTALL_TARGETS_DEFAULT_ARGS} ) install(TARGETS kwin_wayland ${INSTALL_TARGETS_DEFAULT_ARGS} ) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index dba0273d60..404f4cb854 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -30,4 +30,5 @@ if (Wayland_Client_FOUND AND XKB_FOUND) ) add_executable(waylandclienttest ${waylandclienttest_SRCS}) target_link_libraries(waylandclienttest Qt5::Core Qt5::Gui Wayland::Client) + add_dependencies(waylandclienttest wayland-client-fullscreen-shell) endif()