Enable building without wxUSE_WEBVIEW_IE

This commit is contained in:
Maarten Bent
2020-01-17 09:37:12 +01:00
committed by Tobias Taschner
parent bb508dc347
commit ce968d0ecb
3 changed files with 6 additions and 3 deletions

View File

@@ -406,8 +406,8 @@ if(wxUSE_GUI)
wx_option_force_value(wxUSE_WEBVIEW OFF)
endif()
elseif(WXMSW)
if(NOT wxUSE_WEBVIEW_IE)
message(WARNING "WebviewIE not found or enabled, wxWebview won't be available")
if(NOT wxUSE_WEBVIEW_IE AND NOT wxUSE_WEBVIEW_EDGE)
message(WARNING "WebviewIE and WebviewEdge not found or enabled, wxWebview won't be available")
wx_option_force_value(wxUSE_WEBVIEW OFF)
endif()
elseif(APPLE)