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>
This commit is contained in:
parent
18cf9b24cb
commit
a594629602
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user