Skip to content

Commit

Permalink
build(src/CMakeLists.txt): explicitly link bcrypt to fix build error …
Browse files Browse the repository at this point in the history
…with mingw64
  • Loading branch information
WhiredPlanck committed Oct 4, 2023
1 parent e8fd6c9 commit 84a4123
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 84a4123

Please sign in to comment.