diff options
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 757c418..97ac2c2 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -2,10 +2,10 @@ # special case begin if(NOT TARGET Qt::Test) - cmake_minimum_required(VERSION 3.14.0) - project(QtImageFormatsTests C CXX ASM) - find_package(Qt5 REQUIRED COMPONENTS BuildInternals Core Test) - find_package(Qt5 COMPONENTS Gui) + cmake_minimum_required(VERSION 3.15.0) + project(QtImageFormatsTests VERSION 6.0.0 LANGUAGES C CXX ASM) + find_package(Qt6 REQUIRED COMPONENTS BuildInternals Core Test + OPTIONAL_COMPONENTS Gui) qt_set_up_standalone_tests_build() endif() # special case end |