add webview2

This commit is contained in:
QIDI TECH
2023-06-26 16:57:17 +08:00
parent bf65d80654
commit d57a16df8f
3 changed files with 694 additions and 9 deletions

View File

@@ -62,14 +62,7 @@ if (SLIC3R_GUI)
include(${wxWidgets_USE_FILE})
else ()
find_package(wxWidgets 3.1 COMPONENTS html adv gl core base)
if (NOT wxWidgets_FOUND)
message(STATUS "Trying to find wxWidgets in CONFIG mode...")
find_package(wxWidgets 3.2 CONFIG REQUIRED COMPONENTS html adv gl core base)
slic3r_remap_configs(wx::wxhtml wx::wxadv wx::wxgl wx::wxcore wx::wxbase RelWithDebInfo Release)
else ()
include(${wxWidgets_USE_FILE})
endif ()
find_package(wxWidgets 3.2 REQUIRED COMPONENTS html adv gl core base webview aui net media)
endif ()
if(UNIX)