From 84a4123cd4861a211763750f877e98df6e2e1029 Mon Sep 17 00:00:00 2001 From: WhiredPlanck Date: Wed, 4 Oct 2023 14:02:34 +0800 Subject: [PATCH] build(src/CMakeLists.txt): explicitly link bcrypt to fix build error with mingw64 --- src/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ac44365fa..6364e1c8e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -55,7 +55,9 @@ set(rime_gears_deps set(rime_levers_deps "") if(MINGW) - set(rime_core_deps ${rime_core_deps} wsock32 ws2_32) + # fix: bcrypt for boost uuid issue + # https://github.com/boostorg/uuid/issues/68 + set(rime_core_deps ${rime_core_deps} wsock32 ws2_32 bcrypt) endif() if(BUILD_SEPARATE_LIBS)