Skip to content

Commit

Permalink
Add winhttp for cmake Windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
kotcrab committed Oct 31, 2023
1 parent b01ec48 commit e074955
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2332,6 +2332,9 @@ target_link_libraries(${CoreLibName} Common native chdr kirk cityhash sfmt19937

if(NOT HTTPS_NOT_AVAILABLE)
target_link_libraries(${CoreLibName} naett)
if(WIN32)
target_link_libraries(${CoreLibName} winhttp)
endif()
endif()

target_compile_features(${CoreLibName} PUBLIC cxx_std_17)
Expand Down

0 comments on commit e074955

Please sign in to comment.