summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2019-06-26 13:42:43 +0200
committerLiang Qi <liang.qi@qt.io>2019-06-26 11:44:05 +0000
commitb674c81225bd5f83b247b085f98879a4b7d24252 (patch)
treec3d0cc43ef4fd57fc4dbeff525e56cf382d70ee6 /tests
parentf33a29a8dbe03cbe9e59f9e5124f15e90b6336fc (diff)
downloadqtsvg-b674c81225bd5f83b247b085f98879a4b7d24252.tar.gz
Prospective fix for building tests standalone
We're now on major version 6 :) Change-Id: I00d519253645c3d63e5ae516e525b10efd276ae3 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index fd61af0..68c2db0 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -2,8 +2,8 @@
if(NOT TARGET Qt::Test)
cmake_minimum_required(VERSION 3.14.0)
project(QtSvgTests C CXX ASM)
- find_package(Qt5 REQUIRED COMPONENTS BuildInternals Core Test)
- find_package(Qt5 COMPONENTS Svg Widgets Xml)
+ find_package(Qt6 REQUIRED COMPONENTS BuildInternals Core Test)
+ find_package(Qt6 COMPONENTS Svg Widgets Xml)
qt_set_up_standalone_tests_build()
endif()
# special case end