[vcpkg baseline][tmx] Fix libxml dependency (#25616)

* Fix libxml2 dependency

* Update versions
This commit is contained in:
Kai Pastor 2022-07-07 18:57:40 +02:00 committed by GitHub
parent 9776b51b55
commit cf287a6af9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 2 deletions

12
ports/tmx/libxml2.patch Normal file
View File

@ -0,0 +1,12 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index abb5e18..30b88c5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -48,7 +48,6 @@ else()
message("Zlib not wanted")
endif()
-include(FindLibXml2)
find_package(LibXml2 REQUIRED)
target_link_libraries(tmx LibXml2::LibXml2)

View File

@ -4,6 +4,8 @@ vcpkg_from_github(
REF tmx_1.2.0
HEAD_REF master
SHA512 cb29c67af560a1844e798d3fe2677a6b71866943b233c0700212b91de35f252a0a465c33911a2c432aa54be309e3ac10770bc95c6450227e39abe049c1fbbdd1
PATCHES
libxml2.patch
)
vcpkg_cmake_configure(

View File

@ -1,8 +1,9 @@
{
"name": "tmx",
"version": "1.2.0",
"port-version": 1,
"port-version": 2,
"description": "A portable C library to load tiled maps in your games.",
"license": "BSD-2-Clause",
"dependencies": [
"libxml2",
{

2
versions/baseline.json Executable file → Normal file
View File

@ -7158,7 +7158,7 @@
},
"tmx": {
"baseline": "1.2.0",
"port-version": 1
"port-version": 2
},
"tmxlite": {
"baseline": "1.3.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "ad73505d8e08d0252406303852df5916e44209f6",
"version": "1.2.0",
"port-version": 2
},
{
"git-tree": "1b0ec7979f9a75aab71e9488940a4beff74bd745",
"version": "1.2.0",