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
@@ -157,7 +157,7 @@ wx_add_sample(webview LIBRARIES wxwebview DATA ../help/doc.zip:doc.zip
|
||||
if(TARGET webviewsample AND wxUSE_STC)
|
||||
wx_exe_link_libraries(webviewsample wxstc)
|
||||
endif()
|
||||
wx_add_sample(webrequest LIBRARIES net DEPENDS wxUSE_WEBREQUEST)
|
||||
wx_add_sample(webrequest LIBRARIES wxnet DEPENDS wxUSE_WEBREQUEST)
|
||||
# widgets Sample
|
||||
set(SAMPLE_WIDGETS_SRC
|
||||
activityindicator.cpp
|
||||
|
Reference in New Issue
Block a user