Fix: Missing dependencies for kwin autotests

guix (like nix) used a separate prefix for each package. Thus the header
files for
qtdeclarative are in /gnu/store/…-qtdeclarative-5.9.1/include/qt5/ while
the ones for
qtbase are in /gnu/store/…-base-5.9.1/include/qt5/. This means that
*each* dependency's include directory must be specified. This is in
contrast to a "normal" Unix-system, where all includes end up in
/usr/include/qt5 and missing to defined some include-dependencies does
often not raise an error.

Differential Revision: https://phabricator.kde.org/D8112
This commit is contained in:
Hartmut Goebel 2017-10-04 10:09:18 +01:00 committed by David Edmundson
parent 7c538207f4
commit 5e7b3c6c73
2 changed files with 3 additions and 0 deletions

View file

@ -167,6 +167,7 @@ add_executable( testScriptedEffectLoader ${testScriptedEffectLoader_SRCS})
target_link_libraries(testScriptedEffectLoader
Qt5::Concurrent
Qt5::Qml
Qt5::Script
Qt5::Test
Qt5::X11Extras

View file

@ -19,6 +19,7 @@ set_target_properties(testTabBoxClientModel PROPERTIES COMPILE_DEFINITIONS "NO_N
target_link_libraries( testTabBoxClientModel
Qt5::Core
Qt5::Gui
Qt5::Script
Qt5::Quick
Qt5::Test
Qt5::X11Extras
@ -50,6 +51,7 @@ set_target_properties(testTabBoxHandler PROPERTIES COMPILE_DEFINITIONS "NO_NONE_
target_link_libraries( testTabBoxHandler
Qt5::Core
Qt5::Gui
Qt5::Script
Qt5::Quick
Qt5::Test
Qt5::X11Extras