Fix wxNet build problem when cross-compiling using CMake
Fix the case of "winhttp" library, this is important when using case-sensitive file systems. Closes https://github.com/wxWidgets/wxWidgets/pull/2409
This commit is contained in:
@@ -27,7 +27,7 @@ if(WIN32)
|
|||||||
wx_lib_link_libraries(wxnet PRIVATE ws2_32)
|
wx_lib_link_libraries(wxnet PRIVATE ws2_32)
|
||||||
|
|
||||||
if(wxUSE_WEBREQUEST_WINHTTP)
|
if(wxUSE_WEBREQUEST_WINHTTP)
|
||||||
wx_lib_link_libraries(wxnet PRIVATE Winhttp)
|
wx_lib_link_libraries(wxnet PRIVATE winhttp)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user