mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-27 21:20:21 +00:00
[vcpkg] Link bcrypt via CMake on Windows (#3765)
This commit is contained in:
parent
1296b14f5a
commit
a6986fdbea
@ -48,6 +48,10 @@ elseif(CLANG)
|
||||
target_link_libraries(vcpkg PRIVATE c++experimental)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(vcpkg PRIVATE bcrypt)
|
||||
endif()
|
||||
|
||||
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||
find_package(Threads REQUIRED)
|
||||
target_link_libraries(vcpkg PRIVATE Threads::Threads)
|
||||
|
Loading…
Reference in New Issue
Block a user