summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@qt.io>2019-10-04 12:44:10 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-10-04 22:01:37 +0000
commita5946296022cf6dc26f5f83997b5c1e3f7ef5748 (patch)
tree4b126d1435d1c3e39657f4e0ce16d313e5149b03 /tests
parent18cf9b24cb6fef157211c183115b49ef52e60e54 (diff)
cmake: Add find ICU to fix building test
This fixes building of tests, which are currently all failing in auto/corelib/time/qtimezone. Change-Id: I6183217d51b5636651da9026f71353cdde1e2444 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 159554e4a9..4680decd7c 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -9,6 +9,7 @@ if(NOT TARGET Qt::Test)
# Find a few packages that are usually found in configure.cmake,
# because a few tests link directly against those libraries.
qt_find_package(WrapDBus1 PROVIDED_TARGETS dbus-1)
+ qt_find_package(ICU COMPONENTS i18n uc data PROVIDED_TARGETS ICU::i18n ICU::uc ICU::data)
endif()
# special case end