mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-22 04:35:17 +00:00
Update build system for wxWidgets 3.1.5 → 3.3.2 upgrade
- deps/wxWidgets/wxWidgets.cmake: Add GIT_TAG v3.3.2 to track the correct branch; remove -DwxUSE_UNICODE=ON (unicode-only in 3.3, option removed) - src/CMakeLists.txt: Bump find_package minimum version from 3.0/3.1 to 3.3; remove SLIC3R_WX_STABLE conditional (3.0 no longer supported) - CMakeLists.txt: Remove SLIC3R_WX_STABLE option definition - scripts/flatpak/com.orcaslicer.OrcaSlicer.yml: Update wxWidgets source URL to v3.3.2 branch archive; remove sha256 (placeholder TODO); remove -DwxUSE_UNICODE=ON
This commit is contained in:
@@ -30,13 +30,9 @@ if (SLIC3R_GUI)
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
set (wxWidgets_CONFIG_OPTIONS "--toolkit=gtk${SLIC3R_GTK}")
|
||||
if (SLIC3R_WX_STABLE)
|
||||
find_package(wxWidgets 3.0 REQUIRED COMPONENTS base core adv html gl aui net media webview)
|
||||
else ()
|
||||
find_package(wxWidgets 3.1 REQUIRED COMPONENTS base core adv html gl aui net media webview)
|
||||
endif ()
|
||||
find_package(wxWidgets 3.3 REQUIRED COMPONENTS base core adv html gl aui net media webview)
|
||||
else ()
|
||||
find_package(wxWidgets 3.1 REQUIRED COMPONENTS html adv gl core base webview aui net media)
|
||||
find_package(wxWidgets 3.3 REQUIRED COMPONENTS html adv gl core base webview aui net media)
|
||||
endif ()
|
||||
|
||||
if(UNIX)
|
||||
|
||||
Reference in New Issue
Block a user