|
@@ -122,7 +122,7 @@ endif()
|
|
|
if(MSVC)
|
|
|
cmake_push_check_state()
|
|
|
set(CMAKE_REQUIRED_LIBRARIES bcrypt)
|
|
|
- check_symbol_exists(BCryptGenRandom Windows.h;bcrypt.h BCRYPT_AVAILABLE)
|
|
|
+ check_symbol_exists(BCryptGenRandom "Windows.h;bcrypt.h" BCRYPT_AVAILABLE)
|
|
|
cmake_pop_check_state()
|
|
|
if(BCRYPT_AVAILABLE)
|
|
|
target_link_libraries(${PROJECT_NAME} PRIVATE Bcrypt)
|