CMake: Abort if Chromium is enabled on Windows with unsupported compiler
The user has explicitly enabled chromium, so we shouldn't continue without it.
This commit is contained in:
parent
cf04523ece
commit
8aad6ba37a
1 changed files with 2 additions and 2 deletions
|
|
@ -501,9 +501,9 @@ if(wxUSE_GUI)
|
|||
endif()
|
||||
|
||||
if(wxUSE_WEBVIEW_CHROMIUM AND WIN32 AND NOT MSVC)
|
||||
message(WARNING "WebviewChromium libcef_dll_wrapper can only be built with MSVC... disabled")
|
||||
wx_option_force_value(wxUSE_WEBVIEW_CHROMIUM OFF)
|
||||
message(FATAL_ERROR "WebviewChromium libcef_dll_wrapper can only be built with MSVC")
|
||||
endif()
|
||||
|
||||
if(wxUSE_WEBVIEW_CHROMIUM)
|
||||
# Check for C++17 support as it's required by CEF: we trust
|
||||
# CMAKE_CXX_STANDARD if it is defined, but we need to compile a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue