Update lua-https to latest commit (love2d/lua-https@6dbce69)

This commit is contained in:
Sasha Szpakowski
2023-08-30 21:47:26 -03:00
parent b0e3246ba8
commit ddf88c64bd
11 changed files with 411 additions and 59 deletions
+10 -1
View File
@@ -1619,6 +1619,8 @@ set(LOVE_SRC_3P_LUAHTTPS_LUA
set(LOVE_SRC_3P_LUAHTTPS_WINDOWS
src/libraries/luahttps/src/windows/SChannelConnection.cpp
src/libraries/luahttps/src/windows/SChannelConnection.h
src/libraries/luahttps/src/windows/WinINetClient.cpp
src/libraries/luahttps/src/windows/WinINetClient.h
)
# These are platform-dependent but have ifdef guards to make sure they only
@@ -1638,10 +1640,17 @@ endif()
set(LOVE_LINK_L3P_LUAHTTPS)
if(MSVC)
set(LOVE_LINK_L3P_LUAHTTPS
${LOVE_LINK_L3P_LUASOCKET_LIBLUASOCKET}
${LOVE_LINK_L3P_LUAHTTPS}
ws2_32
secur32
)
if(NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
set(LOVE_LINK_L3P_LUAHTTPS
${LOVE_LINK_L3P_LUAHTTPS}
wininet
)
endif()
endif()
add_library(love_3p_luahttps ${LOVE_SRC_3P_LUAHTTPS})