From 5e7b3c6c7360ff95621519be0506c11668d15eb3 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Wed, 4 Oct 2017 10:09:18 +0100 Subject: [PATCH] Fix: Missing dependencies for kwin autotests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- autotests/CMakeLists.txt | 1 + autotests/tabbox/CMakeLists.txt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/autotests/CMakeLists.txt b/autotests/CMakeLists.txt index 67d3e72999..402d3b48f1 100644 --- a/autotests/CMakeLists.txt +++ b/autotests/CMakeLists.txt @@ -167,6 +167,7 @@ add_executable( testScriptedEffectLoader ${testScriptedEffectLoader_SRCS}) target_link_libraries(testScriptedEffectLoader Qt5::Concurrent + Qt5::Qml Qt5::Script Qt5::Test Qt5::X11Extras diff --git a/autotests/tabbox/CMakeLists.txt b/autotests/tabbox/CMakeLists.txt index 0cbfa2332d..e214f89994 100644 --- a/autotests/tabbox/CMakeLists.txt +++ b/autotests/tabbox/CMakeLists.txt @@ -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