mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 00:59:05 +08:00
[xerces-c] Add support for xmlch_wchar feature (#5602)
* Add feature for wchar * ports/xerces-c/portfile.cmake: * Document new feature * ports/xerces-c/CONTROL: * [xerces-c] bump control version number
This commit is contained in:
parent
c7ca58ba36
commit
c297b43896
@ -1,7 +1,11 @@
|
||||
Source: xerces-c
|
||||
Version: 3.2.2-6
|
||||
Version: 3.2.2-7
|
||||
Description: Xerces-C++ is a XML parser, for parsing, generating, manipulating, and validating XML documents using the DOM, SAX, and SAX2 APIs.
|
||||
|
||||
Feature: icu
|
||||
Description: ICU support
|
||||
Build-Depends: icu
|
||||
|
||||
Feature: xmlch_wchar
|
||||
Description: XMLCh type uses wchar_t
|
||||
|
||||
|
@ -13,6 +13,9 @@ set(DISABLE_ICU ON)
|
||||
if("icu" IN_LIST FEATURES)
|
||||
set(DISABLE_ICU OFF)
|
||||
endif()
|
||||
if ("xmlch_wchar" IN_LIST FEATURES)
|
||||
set(XMLCHTYPE -Dxmlch-type=wchar_t)
|
||||
endif()
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
@ -22,6 +25,7 @@ vcpkg_configure_cmake(
|
||||
-DDISABLE_DOC=ON
|
||||
-DDISABLE_SAMPLES=ON
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_ICU=${DISABLE_ICU}
|
||||
${XMLCHTYPE}
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
Loading…
Reference in New Issue
Block a user