From a5946296022cf6dc26f5f83997b5c1e3f7ef5748 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Fri, 4 Oct 2019 12:44:10 +0200 Subject: 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 Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor --- tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3