From 3ba015742bb2a00a0951227717e08b1594466422 Mon Sep 17 00:00:00 2001 From: Mark Conway Date: Sat, 25 Feb 2023 12:23:01 -0600 Subject: [PATCH] Use cmake to require ICU version >= 56. --- .../frontend/bridge-gui/bridge-gui/DeployLinux.cmake | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/internal/frontend/bridge-gui/bridge-gui/DeployLinux.cmake b/internal/frontend/bridge-gui/bridge-gui/DeployLinux.cmake index 10e1ea16b..5db5f8fac 100644 --- a/internal/frontend/bridge-gui/bridge-gui/DeployLinux.cmake +++ b/internal/frontend/bridge-gui/bridge-gui/DeployLinux.cmake @@ -17,6 +17,11 @@ cmake_minimum_required(VERSION 3.22) +#***************************************************************************************************************************************************** +# International Components for Unicode (ICU) +#***************************************************************************************************************************************************** +find_package(ICU 56.0 COMPONENTS i18n uc data REQUIRED) + #***************************************************************************************************************************************************** # Deploy #***************************************************************************************************************************************************** @@ -54,9 +59,9 @@ AppendQt6Lib("libQt6Gui.so.6") AppendQt6Lib("libQt6Core.so.6") AppendQt6Lib("libQt6QuickTemplates2.so.6") AppendQt6Lib("libQt6DBus.so.6") -AppendQt6Lib("libicui18n.so.56") -AppendQt6Lib("libicuuc.so.56") -AppendQt6Lib("libicudata.so.56") +AppendQt6Lib("libicui18n.so") +AppendQt6Lib("libicuuc.so") +AppendQt6Lib("libicudata.so") AppendQt6Lib("libQt6XcbQpa.so.6") AppendQt6Lib("libQt6WaylandClient.so.6") AppendQt6Lib("libQt6WlShellIntegration.so.6")