summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-09-05 10:06:04 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-09-05 08:15:35 +0000
commit1d4a58a877b8b28074ca84a07340d2d8604b38d6 (patch)
tree32794c7ef015213a69ad73ee22ce619646efed8f /tests
parent9cf98b08da79980017b1663f3603149f39a21513 (diff)
Add build and test instructions
Change-Id: I4d52be7d162949ebc3e2122eb31ef64fce110d15 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Qt CMake Build Bot
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt8
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