mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 03:49:06 +08:00
[xerces-c] Update to version 3.2.3 (#10779)
* [xerces-c] Update to version 3.2.3 Drop patch no-symlinks-in-static-build.patch (fixed upstream) * [xerces-c] Correct version number * [xerces-c] Remove no-symlinks-in-static-build.patch
This commit is contained in:
parent
7d2f838ea7
commit
5f77f3e92b
@ -1,5 +1,5 @@
|
||||
Source: xerces-c
|
||||
Version: 3.2.2-13
|
||||
Version: 3.2.3
|
||||
Homepage: https://github.com/apache/xerces-c
|
||||
Description: Xerces-C++ is a XML parser, for parsing, generating, manipulating, and validating XML documents using the DOM, SAX, and SAX2 APIs.
|
||||
|
||||
|
@ -1,31 +0,0 @@
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index c29aa25..3106d77 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -1285,15 +1285,17 @@ if(MSVC)
|
||||
set_target_properties(xerces-c PROPERTIES RUNTIME_OUTPUT_NAME "xerces-c_${INTERFACE_VERSION_U}")
|
||||
set_target_properties(xerces-c PROPERTIES DEBUG_POSTFIX "D")
|
||||
elseif(UNIX)
|
||||
- # For strict libtool compatibility on Unix. It's a horrible hack to
|
||||
- # set the version in the filename, and create the symlink at install
|
||||
- # time. Note: could be dropped when the SONAME is updated and
|
||||
- # libtool compatibility is no longer required.
|
||||
- set_target_properties(xerces-c PROPERTIES OUTPUT_NAME "xerces-c-${INTERFACE_VERSION_D}")
|
||||
- file(GENERATE
|
||||
- OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/InstallLibrarySymlink.cmake"
|
||||
- CONTENT "execute_process(COMMAND ln -sf \"$<TARGET_FILE_NAME:xerces-c>\" \"\$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/libxerces-c.so\")")
|
||||
- install(SCRIPT "${CMAKE_CURRENT_BINARY_DIR}/InstallLibrarySymlink.cmake")
|
||||
+ if(BUILD_SHARED_LIBS)
|
||||
+ # For strict libtool compatibility on Unix. It's a horrible hack to
|
||||
+ # set the version in the filename, and create the symlink at install
|
||||
+ # time. Note: could be dropped when the SONAME is updated and
|
||||
+ # libtool compatibility is no longer required.
|
||||
+ set_target_properties(xerces-c PROPERTIES OUTPUT_NAME "xerces-c-${INTERFACE_VERSION_D}")
|
||||
+ file(GENERATE
|
||||
+ OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/InstallLibrarySymlink.cmake"
|
||||
+ CONTENT "execute_process(COMMAND ln -sf \"$<TARGET_FILE_NAME:xerces-c>\" \"\$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/libxerces-c.so\")")
|
||||
+ install(SCRIPT "${CMAKE_CURRENT_BINARY_DIR}/InstallLibrarySymlink.cmake")
|
||||
+ endif()
|
||||
else()
|
||||
# Not used for the common cases, though this would be the default if
|
||||
# not for libtool compatibility.
|
@ -1,13 +1,12 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO apache/xerces-c
|
||||
REF v3.2.2
|
||||
SHA512 e4b2d3499fb4d1d1bcaf991ee858f352112683084b9cc7855c0e52e7fc8cc982a8e3cd548fa30718af6a6dee40e460d82ffcd3480a50f7e7516b462b2c2080c6
|
||||
REF v3.2.3
|
||||
SHA512 aaafe2de4ea156d94e71e3631c79bd66660badf17bf2a19587a0ca34011f70bd1584a0beef909409a3ff05eecea9d37ffee6dbb267625f59217fd86705d2cd28
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
disable-tests.patch
|
||||
remove-dll-export-macro.patch
|
||||
no-symlinks-in-static-build.patch
|
||||
)
|
||||
|
||||
set(DISABLE_ICU ON)
|
||||
|
Loading…
Reference in New Issue
Block a user