Skip to content

Commit

Permalink
[wxwidgets] Fix wrapper (#27391)
Browse files Browse the repository at this point in the history
* Wrapper needs CMP0057

* Update versions
  • Loading branch information
dg0yt authored Oct 24, 2022
1 parent 2bebfe3 commit 1eaf4fe
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions ports/wxwidgets/vcpkg-cmake-wrapper.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
cmake_policy(PUSH)
cmake_policy(SET CMP0012 NEW)
cmake_policy(SET CMP0054 NEW)
cmake_policy(SET CMP0057 NEW)

get_filename_component(_vcpkg_wx_root "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE)
set(wxWidgets_ROOT_DIR "${_vcpkg_wx_root}" CACHE INTERNAL "")
Expand Down
2 changes: 1 addition & 1 deletion ports/wxwidgets/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wxwidgets",
"version": "3.2.1",
"port-version": 1,
"port-version": 2,
"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.",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -7978,7 +7978,7 @@
},
"wxwidgets": {
"baseline": "3.2.1",
"port-version": 1
"port-version": 2
},
"wyhash": {
"baseline": "2022-10-12",
Expand Down
5 changes: 5 additions & 0 deletions versions/w-/wxwidgets.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b7b94147f3dfd0c3a6f137121ef874159d2d9c0c",
"version": "3.2.1",
"port-version": 2
},
{
"git-tree": "3a640144a98d7909a92ba363114f95bcaff554e5",
"version": "3.2.1",
Expand Down

0 comments on commit 1eaf4fe

Please sign in to comment.