Skip to content

Commit b508028

Browse files
paperchalicesjaeckel
authored andcommitted
Quote header list when finding bcrypt
Found try compile source is incorrect, add quote to generate correct source file.
1 parent 5c73ba8 commit b508028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ endif()
122122
if(MSVC)
123123
cmake_push_check_state()
124124
set(CMAKE_REQUIRED_LIBRARIES bcrypt)
125-
check_symbol_exists(BCryptGenRandom Windows.h;bcrypt.h BCRYPT_AVAILABLE)
125+
check_symbol_exists(BCryptGenRandom "Windows.h;bcrypt.h" BCRYPT_AVAILABLE)
126126
cmake_pop_check_state()
127127
if(BCRYPT_AVAILABLE)
128128
target_link_libraries(${PROJECT_NAME} PRIVATE Bcrypt)

0 commit comments

Comments
 (0)