0
0
mirror of https://github.com/zeux/pugixml.git synced 2025-01-14 01:47:55 +08:00

Merge pull request #384 from mathstuf/update-1.11-release-notes

Update 1.11 release notes
This commit is contained in:
Arseny Kapoulkine 2020-12-04 15:59:40 -08:00 committed by GitHub
commit 68a92aa972
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -2156,6 +2156,9 @@ Maintenance release. Changes:
. Fix Wzero-as-null-pointer-constant warnings in pugixml.hpp . Fix Wzero-as-null-pointer-constant warnings in pugixml.hpp
. Work around several static analysis false positives . Work around several static analysis false positives
* Build system changes
. The CMake package for pugixml now provides a `pugixml::pugixml` target rather than a `pugixml` target. A compatibility `pugixml` target is provided if at least version 1.11 is not requested.
[[v1.10]] [[v1.10]]
=== v1.10 ^2019-09-15^ === v1.10 ^2019-09-15^

View File

@ -1,3 +1,10 @@
@PACKAGE_INIT@ @PACKAGE_INIT@
include("${CMAKE_CURRENT_LIST_DIR}/pugixml-targets.cmake") include("${CMAKE_CURRENT_LIST_DIR}/pugixml-targets.cmake")
# If the user is not requiring 1.11 (either by explicitly requesting an older
# version or not requesting one at all), provide the old imported target name
# for compatibility.
if (NOT DEFINED PACKAGE_FIND_VERSION OR PACKAGE_FIND_VERSION VERSION_LESS "1.11")
add_library(pugixml ALIAS pugixml::pugixml)
endif ()