Skip to content

Commit

Permalink
cmake: fix deploy by updating libicu version
Browse files Browse the repository at this point in the history
msys2 package manager doesn't have mingw64 debug DLLs for libicu anymore so I removed them.
  • Loading branch information
selsta committed Nov 14, 2023
1 parent bea3032 commit 06ed059
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions cmake/Deploy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06ed059

Please sign in to comment.