Skip to content

Commit

Permalink
Merge pull request #18391 from kotcrab/cmake-winhttp
Browse files Browse the repository at this point in the history
Add winhttp for cmake Windows builds
  • Loading branch information
hrydgard committed Oct 31, 2023
2 parents b01ec48 + e074955 commit a4d667c
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 a4d667c

Please sign in to comment.