diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 0d3cbe2c0..ac6202450 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -61,7 +61,7 @@ if(WIN32) set(USB_LIBRARY winusb ws2_32 setupapi) if(${WIN32_BCRYPT}) - set (CRYPT_LIBRARY bcrypt ncrypt) + set (CRYPT_LIBRARY ncrypt) add_definitions (-D_WIN32_BCRYPT) else(${WIN32_BCRYPT}) set(CRYPT_LIBRARY ${LIBCRYPTO_LDFLAGS}) diff --git a/yubihsm-auth/CMakeLists.txt b/yubihsm-auth/CMakeLists.txt index af99981af..247af7bf9 100644 --- a/yubihsm-auth/CMakeLists.txt +++ b/yubihsm-auth/CMakeLists.txt @@ -45,7 +45,7 @@ include_directories ( if(WIN32) list(APPEND SOURCE ${CMAKE_CURRENT_BINARY_DIR}/version.rc) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/version.rc.in ${CMAKE_CURRENT_BINARY_DIR}/version.rc @ONLY) - set (BCRYPT_LIBRARY bcrypt ncrypt) + set (BCRYPT_LIBRARY ncrypt) endif(WIN32) # NOTE(adma): required by gengetopt