From 72a90810cb8e418c5317f484c5b2f9bb8cf264a0 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Sat, 10 Jul 2021 21:18:53 +0200 Subject: CMake: Remove the usage of QT_SOURCE_TREE from tests The ${QT_SOURCE_TREE}/src/network include paths of several tests are apparently not needed anymore. Remove those. tst_qfilesystementry and tst_qfreelist are the only tests that actually need to reference files in qtbase's source tree. Simply use the paths relative to the project file. Task-number: QTBUG-88090 Change-Id: Ic6f341e001338c1b07dce6e58316245bc9560c5e Reviewed-by: Alexandru Croitor Reviewed-by: Qt CI Bot --- tests/auto/corelib/io/qfilesystementry/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/auto/corelib/io/qfilesystementry/CMakeLists.txt') diff --git a/tests/auto/corelib/io/qfilesystementry/CMakeLists.txt b/tests/auto/corelib/io/qfilesystementry/CMakeLists.txt index 574ba0efc8..84758836f2 100644 --- a/tests/auto/corelib/io/qfilesystementry/CMakeLists.txt +++ b/tests/auto/corelib/io/qfilesystementry/CMakeLists.txt @@ -6,7 +6,8 @@ qt_internal_add_test(tst_qfilesystementry SOURCES - ${QT_SOURCE_TREE}/src/corelib/io/qfilesystementry.cpp ${QT_SOURCE_TREE}/src/corelib/io/qfilesystementry_p.h + ../../../../../src/corelib/io/qfilesystementry.cpp + ../../../../../src/corelib/io/qfilesystementry_p.h tst_qfilesystementry.cpp PUBLIC_LIBRARIES Qt::CorePrivate -- cgit v1.2.3