diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-03-09 16:41:38 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-03-17 14:39:47 +0000 |
commit | e558d0794b4b22e35ce217818dd96d1e45957b10 (patch) | |
tree | 87da2e2458f1af39876be2dd4c3864bd46e7051a /tests/CMakeLists.txt | |
parent | f52b95a96cc8f36f766635f9ddb6c95fa6b3c934 (diff) |
CMake: Regenerate projectswip/cmake
Change-Id: Ifd6b2289de6465a010f5f2a32789221767b4d5be
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index d21be56a..22141371 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,13 +1,7 @@ # Generated from tests.pro. -if(NOT TARGET Qt::Test) - cmake_minimum_required(VERSION 3.15.0) - project(QtQuickControls2Tests VERSION 6.0.0 LANGUAGES C CXX) - find_package(Qt6 ${PROJECT_VERSION} REQUIRED COMPONENTS - BuildInternals Core Qml Quick QmlDevTools QmlDebug QuickTest # special case - QuickControls2 QuickTemplates2 # special case - ) - 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() qt_build_tests() - |