diff options
author | Brent Cook <busterb@gmail.com> | 2020-11-11 05:39:56 -0600 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2020-11-11 05:39:56 -0600 |
commit | df3d4bb57a253f85bb60567aaea5f2dd992a9fbd (patch) | |
tree | ce470698e45cccf76c7f1c05c803936b41fa52ee /CMakeLists.txt | |
parent | 9abd36e3af5876f67c633f27496ad5660ab7fe24 (diff) | |
download | portable-df3d4bb57a253f85bb60567aaea5f2dd992a9fbd.tar.gz portable-df3d4bb57a253f85bb60567aaea5f2dd992a9fbd.tar.bz2 portable-df3d4bb57a253f85bb60567aaea5f2dd992a9fbd.zip |
Add -lbcrypt to Windows builds for CNG in getentropy
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index debaac4..eca97b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -119,7 +119,7 @@ if(WIN32) | |||
119 | add_definitions(-D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS) | 119 | add_definitions(-D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS) |
120 | add_definitions(-DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600) | 120 | add_definitions(-DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600) |
121 | add_definitions(-DCPPFLAGS -DNO_SYSLOG -DNO_CRYPT) | 121 | add_definitions(-DCPPFLAGS -DNO_SYSLOG -DNO_CRYPT) |
122 | set(PLATFORM_LIBS ${PLATFORM_LIBS} ws2_32) | 122 | set(PLATFORM_LIBS ${PLATFORM_LIBS} ws2_32 bcrypt) |
123 | endif() | 123 | endif() |
124 | 124 | ||
125 | if(MSVC) | 125 | if(MSVC) |