aboutsummaryrefslogtreecommitdiff
path: root/ports/xerces-c
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2019-05-21 21:00:24 -0700
committerGitHub <noreply@github.com>2019-05-21 21:00:24 -0700
commit33af90d42af68ef343edb00a69b1e11548a9e2e1 (patch)
treec338f44bd8a960e8eafc52b91f6a1f666a927512 /ports/xerces-c
parente16f9c29a05aa178ce8a476a293723ab92f08f89 (diff)
downloadvcpkg-33af90d42af68ef343edb00a69b1e11548a9e2e1.tar.gz
vcpkg-33af90d42af68ef343edb00a69b1e11548a9e2e1.zip
[many ports] Updates 2019.05.19 (#6524)
Diffstat (limited to 'ports/xerces-c')
-rw-r--r--ports/xerces-c/CONTROL2
-rw-r--r--ports/xerces-c/portfile.cmake5
-rw-r--r--ports/xerces-c/vcpkg-cmake-wrapper.cmake1
3 files changed, 5 insertions, 3 deletions
diff --git a/ports/xerces-c/CONTROL b/ports/xerces-c/CONTROL
index dc204b51b..7d0881a81 100644
--- a/ports/xerces-c/CONTROL
+++ b/ports/xerces-c/CONTROL
@@ -1,5 +1,5 @@
Source: xerces-c
-Version: 3.2.2-8
+Version: 3.2.2-9
Description: Xerces-C++ is a XML parser, for parsing, generating, manipulating, and validating XML documents using the DOM, SAX, and SAX2 APIs.
Feature: icu
diff --git a/ports/xerces-c/portfile.cmake b/ports/xerces-c/portfile.cmake
index 017cb7cab..ad3c6d79e 100644
--- a/ports/xerces-c/portfile.cmake
+++ b/ports/xerces-c/portfile.cmake
@@ -38,13 +38,16 @@ endif()
file(READ ${CURRENT_PACKAGES_DIR}/share/xercesc/XercesCConfigInternal.cmake _contents)
string(REPLACE
- "get_filename_component(_IMPORT_PREFIX \"\${_IMPORT_PREFIX}\" PATH)"
+ "get_filename_component(_IMPORT_PREFIX \"\${_IMPORT_PREFIX}\" PATH)\nget_filename_component(_IMPORT_PREFIX \"\${_IMPORT_PREFIX}\" PATH)\nget_filename_component(_IMPORT_PREFIX \"\${_IMPORT_PREFIX}\" PATH)"
"get_filename_component(_IMPORT_PREFIX \"\${_IMPORT_PREFIX}\" PATH)\nget_filename_component(_IMPORT_PREFIX \"\${_IMPORT_PREFIX}\" PATH)"
_contents
"${_contents}"
)
file(WRITE ${CURRENT_PACKAGES_DIR}/share/xercesc/XercesCConfigInternal.cmake "${_contents}")
+file(READ ${CURRENT_PACKAGES_DIR}/share/xercesc/XercesCConfig.cmake _contents)
+file(WRITE ${CURRENT_PACKAGES_DIR}/share/xercesc/XercesCConfig.cmake "include(CMakeFindDependencyMacro)\nfind_dependency(Threads)\n${_contents}")
+
configure_file(
${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake
${CURRENT_PACKAGES_DIR}/share/xercesc
diff --git a/ports/xerces-c/vcpkg-cmake-wrapper.cmake b/ports/xerces-c/vcpkg-cmake-wrapper.cmake
index c6cfff8a4..6704b83d5 100644
--- a/ports/xerces-c/vcpkg-cmake-wrapper.cmake
+++ b/ports/xerces-c/vcpkg-cmake-wrapper.cmake
@@ -6,4 +6,3 @@ if (APPLE)
list(APPEND XercesC_LIBRARIES "-framework CoreServices" "-framework CoreFoundation" curl)
endif()
endif()
-