Skip to content

Commit

Permalink
Add bcrypt library to fix C/C++ linking
Browse files Browse the repository at this point in the history
  • Loading branch information
Ortham committed Jan 23, 2022
1 parent 38c969c commit 27c6f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
endif ()

if (MSVC)
set (SYSTEM_LIBS ws2_32 Userenv)
set (SYSTEM_LIBS ws2_32 Userenv bcrypt)
endif ()

set (LIBLOADORDER_FFI_LIBRARY "${CMAKE_SOURCE_DIR}/../target/debug/${CMAKE_STATIC_LIBRARY_PREFIX}loadorder_ffi${CMAKE_STATIC_LIBRARY_SUFFIX}")
Expand Down

0 comments on commit 27c6f41

Please sign in to comment.