mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 04:34:07 +08:00
[libxml2] Fix target (#18714)
* fix LibXml2 target dependencies * updated version files
This commit is contained in:
parent
6d47a2faec
commit
7338d7ec1a
@ -12,6 +12,9 @@ if(LibXml2_FOUND)
|
||||
select_library_configurations(ICONV)
|
||||
select_library_configurations(CHARSET)
|
||||
list(APPEND LIBXML2_LIBRARIES ${LIBLZMA_LIBRARIES} ${ZLIB_LIBRARIES})
|
||||
if(TARGET LibXml2::LibXml2)
|
||||
target_link_libraries(LibXml2::LibXml2 INTERFACE "liblzma::liblzma" "ZLIB::ZLIB")
|
||||
endif()
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
list(APPEND LIBXML2_LIBRARIES m)
|
||||
endif()
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "libxml2",
|
||||
"version-semver": "2.9.10",
|
||||
"port-version": 7,
|
||||
"port-version": 8,
|
||||
"description": "Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform).",
|
||||
"homepage": "https://xmlsoft.org/",
|
||||
"dependencies": [
|
||||
|
@ -3710,7 +3710,7 @@
|
||||
},
|
||||
"libxml2": {
|
||||
"baseline": "2.9.10",
|
||||
"port-version": 7
|
||||
"port-version": 8
|
||||
},
|
||||
"libxmlmm": {
|
||||
"baseline": "0.6.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "b0cf9aec6fb5cd87ae6358e9015e92e9d113c1f1",
|
||||
"version-semver": "2.9.10",
|
||||
"port-version": 8
|
||||
},
|
||||
{
|
||||
"git-tree": "f86ba7081b940af77e935875fbdf9cbf69446b9f",
|
||||
"version-semver": "2.9.10",
|
||||
|
Loading…
Reference in New Issue
Block a user