mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 18:53:04 +08:00
[vcpkg baseline][tmx] Fix libxml dependency (#25616)
* Fix libxml2 dependency * Update versions
This commit is contained in:
parent
9776b51b55
commit
cf287a6af9
12
ports/tmx/libxml2.patch
Normal file
12
ports/tmx/libxml2.patch
Normal 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)
|
||||
|
@ -4,6 +4,8 @@ vcpkg_from_github(
|
||||
REF tmx_1.2.0
|
||||
HEAD_REF master
|
||||
SHA512 cb29c67af560a1844e798d3fe2677a6b71866943b233c0700212b91de35f252a0a465c33911a2c432aa54be309e3ac10770bc95c6450227e39abe049c1fbbdd1
|
||||
PATCHES
|
||||
libxml2.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
@ -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
2
versions/baseline.json
Executable file → Normal file
@ -7158,7 +7158,7 @@
|
||||
},
|
||||
"tmx": {
|
||||
"baseline": "1.2.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"tmxlite": {
|
||||
"baseline": "1.3.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ad73505d8e08d0252406303852df5916e44209f6",
|
||||
"version": "1.2.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "1b0ec7979f9a75aab71e9488940a4beff74bd745",
|
||||
"version": "1.2.0",
|
||||
|
Loading…
Reference in New Issue
Block a user