diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-07-10 21:18:53 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-07-12 18:56:14 +0200 |
commit | 72a90810cb8e418c5317f484c5b2f9bb8cf264a0 (patch) | |
tree | 2d0ff15eeb3a204e3f2e416f7e3d1503c6a5b376 /tests/auto/corelib/tools | |
parent | 3ab4742c006a02d7650aeda0ad359c3231ab477d (diff) |
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 <alexandru.croitor@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'tests/auto/corelib/tools')
-rw-r--r-- | tests/auto/corelib/tools/qfreelist/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/tools/qfreelist/CMakeLists.txt b/tests/auto/corelib/tools/qfreelist/CMakeLists.txt index cdac17e612..b1ac63ccff 100644 --- a/tests/auto/corelib/tools/qfreelist/CMakeLists.txt +++ b/tests/auto/corelib/tools/qfreelist/CMakeLists.txt @@ -16,5 +16,5 @@ qt_internal_add_test(tst_qfreelist qt_internal_extend_target(tst_qfreelist CONDITION NOT QT_FEATURE_private_tests SOURCES - ${QT_SOURCE_TREE}/src/corelib/tools/qfreelist.cpp + ../../../../../src/corelib/tools/qfreelist.cpp ) |