Fix target dependencies.

This commit is contained in:
Bernd Steinhauser 2014-08-28 23:11:30 +02:00 committed by Martin Gräßlin
parent c8abd56a2f
commit 9ec2272dc3
2 changed files with 2 additions and 0 deletions

View file

@ -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} )

View file

@ -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()