diff options
-rw-r--r-- | tests/CMakeLists.txt | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 5140fe6b..33962f6d 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,10 +1,6 @@ -if(NOT TARGET Qt::Test) - cmake_minimum_required(VERSION 3.15.0) - project(QtConnectivityTests VERSION 6.0.0 LANGUAGES C CXX) - find_package(Qt6 REQUIRED COMPONENTS BuildInternals Core Bluetooth Nfc Test - Network) - find_package(Qt6 OPTIONAL_COMPONENTS Gui Widgets) - qt_set_up_standalone_tests_build() +if(QT_BUILD_STANDALONE_TESTS) + # Add qt_find_package calls for extra dependencies that need to be found when building + # the standalone tests here. endif() if(TARGET Qt::Bluetooth) |