summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2021-04-27 14:49:25 +0200
committerKai Köhne <kai.koehne@qt.io>2021-04-29 18:56:01 +0200
commitfd067783366eccedd57d0075677ca58a7e8c5294 (patch)
treedebc8dee4163e70563245624234e8e79cc061715
parentfddf1f02760c116ebeacb8275b21ceb45688f3b9 (diff)
downloadqt3d-fd067783366eccedd57d0075677ca58a7e8c5294.tar.gz
Fix error when configuring
The benchmark, manual folders is already added to the build in Qt6BuildInternalsConfig (depending on whether QT_BUILD_BENCHMARKS , QT_BUILD_MANUAL_TESTS are true). Adding it manually again leads to errors like The binary directory C:/dev/qt/6.1/msvc-2019-amd64-toplevel/qt3d/tests/benchmarks is already used to build a source directory. It cannot be used to build source directory C:/dev/qt/6.1/src/qt3d/tests/benchmarks Specify a unique binary directory name. This reverts part of 8448855b8050e56 Fixes: QTBUG-93240 Pick-to: dev Change-Id: Idc5b2fea6996cd8367f0963e993dd788dd3fb239 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
-rw-r--r--tests/CMakeLists.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 606d0c03a..752d5ccc4 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -8,9 +8,4 @@ endif()
# many tests rely on extras to load data
if(QT_FEATURE_qt3d_extras)
qt_build_tests()
-
- add_subdirectory(manual) # add here since default seems to be to not build them
- if(NOT QT_FEATURE_testcocoon AND CMAKE_BUILD_TYPE STREQUAL Release)
- add_subdirectory(benchmarks)
- endif()
endif()