Fixes to CMake build files for wxWebRequest
Fix wrong library name in wx_add_sample() for webrequest. Also prefer to disable wxWebRequest if no backends for it are available, for consistency with the other libraries.
This commit is contained in:
committed by
Vadim Zeitlin
parent
ff57081ff2
commit
b7450f52ff
@@ -32,8 +32,6 @@ if(WIN32)
|
||||
endif()
|
||||
|
||||
if (wxUSE_WEBREQUEST_CURL)
|
||||
find_package(CURL REQUIRED)
|
||||
|
||||
target_include_directories(wxnet PRIVATE ${CURL_INCLUDE_DIRS})
|
||||
wx_lib_link_libraries(wxnet PRIVATE ${CURL_LIBRARIES})
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user