diff options
| -rw-r--r-- | ports/wxwidgets/vcpkg-cmake-wrapper.cmake | 8 | ||||
| -rw-r--r-- | ports/wxwidgets/vcpkg.json | 2 | ||||
| -rw-r--r-- | versions/baseline.json | 2 | ||||
| -rw-r--r-- | versions/w-/wxwidgets.json | 5 |
4 files changed, 14 insertions, 3 deletions
diff --git a/ports/wxwidgets/vcpkg-cmake-wrapper.cmake b/ports/wxwidgets/vcpkg-cmake-wrapper.cmake index f2eb1bcc2..55557b360 100644 --- a/ports/wxwidgets/vcpkg-cmake-wrapper.cmake +++ b/ports/wxwidgets/vcpkg-cmake-wrapper.cmake @@ -15,5 +15,11 @@ find_package(TIFF QUIET) find_package(expat CONFIG QUIET)
if(wxWidgets_LIBRARIES AND NOT wxWidgets_LIBRARIES MATCHES "TIFF::TIFF;png;expat::expat;ZLIB::ZLIB")
- list(APPEND wxWidgets_LIBRARIES "TIFF::TIFF;png;expat::expat;ZLIB::ZLIB")
+ list(APPEND wxWidgets_LIBRARIES "TIFF::TIFF;expat::expat;ZLIB::ZLIB")
+
+ if (TARGET png)
+ list(APPEND wxWidgets_LIBRARIES "png")
+ elseif(TARGET png_static)
+ list(APPEND wxWidgets_LIBRARIES "png_static")
+ endif()
endif()
diff --git a/ports/wxwidgets/vcpkg.json b/ports/wxwidgets/vcpkg.json index 1823f252c..f419affbd 100644 --- a/ports/wxwidgets/vcpkg.json +++ b/ports/wxwidgets/vcpkg.json @@ -1,7 +1,7 @@ { "name": "wxwidgets", "version-semver": "3.1.4", - "port-version": 7, + "port-version": 8, "description": "a widget toolkit and tools library for creating graphical user interfaces (GUIs) for cross-platform applications.", "homepage": "https://github.com/wxWidgets/wxWidgets", "supports": "!uwp", diff --git a/versions/baseline.json b/versions/baseline.json index f7766e91f..1861c3eed 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6446,7 +6446,7 @@ }, "wxwidgets": { "baseline": "3.1.4", - "port-version": 7 + "port-version": 8 }, "x-plane": { "baseline": "3.0.3", diff --git a/versions/w-/wxwidgets.json b/versions/w-/wxwidgets.json index c0f45d844..93b4d8d60 100644 --- a/versions/w-/wxwidgets.json +++ b/versions/w-/wxwidgets.json @@ -1,6 +1,11 @@ { "versions": [ { + "git-tree": "8fc2d91de4a0a86698c67e6bb662c14cbfd29732", + "version-semver": "3.1.4", + "port-version": 8 + }, + { "git-tree": "12acbc593b35e2d327b6fc665c8eed6e25745431", "version-semver": "3.1.4", "port-version": 7 |
