From 06ed059cbada4140713bd9e67faa6487391db47d Mon Sep 17 00:00:00 2001 From: selsta Date: Tue, 14 Nov 2023 11:32:55 +0100 Subject: [PATCH] cmake: fix deploy by updating libicu version msys2 package manager doesn't have mingw64 debug DLLs for libicu anymore so I removed them. --- cmake/Deploy.cmake | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/cmake/Deploy.cmake b/cmake/Deploy.cmake index d0debf3900..31c9035313 100644 --- a/cmake/Deploy.cmake +++ b/cmake/Deploy.cmake @@ -96,24 +96,13 @@ if(APPLE OR (WIN32 AND NOT STATIC)) #openssl files libssl-3-x64.dll libcrypto-3-x64.dll + #icu + libicudt74.dll + libicuin74.dll + libicuio74.dll + libicutu74.dll + libicuuc74.dll ) - if(CMAKE_BUILD_TYPE STREQUAL "Debug") - list(APPEND WIN_DEPLOY_DLLS - libicudtd73.dll - libicuind73.dll - libicuiod73.dll - libicutud73.dll - libicuucd73.dll - ) - else() # assume release - list(APPEND WIN_DEPLOY_DLLS - libicudt73.dll - libicuin73.dll - libicuio73.dll - libicutu73.dll - libicuuc73.dll - ) - endif() list(TRANSFORM WIN_DEPLOY_DLLS PREPEND "$ENV{MSYSTEM_PREFIX}/bin/") add_custom_command(TARGET deploy POST_BUILD