[wxwidgets] Build with OpenGL for Windows ARM (#28583)

* [wxWidgets] Add OpenGL to the WIndows ARM build

OpenGL support works in wxWidgets for Windows ARM.

* Add versions

* [wxwidgets] Add explicit dependency on "opengl"

This also explicitly sets `wxUSE_GLCANVAS=ON` for wxWidgets.

* Update version database
This commit is contained in:
Fabrice de Gans 2022-12-29 23:32:38 -08:00 committed by GitHub
parent 8d9c52191e
commit 9067419fac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 3 deletions

View File

@ -32,7 +32,6 @@ endif()
set(OPTIONS "")
if(VCPKG_TARGET_IS_WINDOWS AND (VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm"))
list(APPEND OPTIONS
-DwxUSE_OPENGL=OFF
-DwxUSE_STACKWALKER=OFF
)
endif()
@ -67,6 +66,7 @@ vcpkg_cmake_configure(
-DwxUSE_LIBPNG=sys
-DwxUSE_LIBTIFF=sys
-DwxUSE_NANOSVG=sys
-DwxUSE_GLCANVAS=ON
-DwxUSE_LIBGNOMEVFS=OFF
-DwxUSE_LIBNOTIFY=OFF
-DwxUSE_SECRETSTORE=OFF

View File

@ -1,7 +1,7 @@
{
"name": "wxwidgets",
"version": "3.2.1",
"port-version": 2,
"port-version": 3,
"description": [
"Widget toolkit and tools library for creating graphical user interfaces (GUIs) for cross-platform applications. ",
"Set WXWIDGETS_USE_STL in a custom triplet to build with the wxUSE_STL build option.",
@ -33,6 +33,7 @@
"libjpeg-turbo",
"libpng",
"nanosvg",
"opengl",
"pcre2",
"tiff",
{

View File

@ -8122,7 +8122,7 @@
},
"wxwidgets": {
"baseline": "3.2.1",
"port-version": 2
"port-version": 3
},
"wyhash": {
"baseline": "2022-10-12",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "1ed5520b0a093e9c55310732eda81ae0a569a00a",
"version": "3.2.1",
"port-version": 3
},
{
"git-tree": "b7b94147f3dfd0c3a6f137121ef874159d2d9c0c",
"version": "3.2.1",