Skip to content

Commit

Permalink
Add bcrypt library to fix C/C++ linking on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Ortham committed Jan 23, 2022
1 parent 6fa7228 commit 52c89bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffi/CMakeLists.txt
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 ()

add_executable(ffi_cpp_tests "${CMAKE_SOURCE_DIR}/tests/ffi.cpp")
Expand Down

0 comments on commit 52c89bf

Please sign in to comment.