[xerces-c] Fixup omission in previous commit -- handle CRT as well.

This commit is contained in:
Robert Schumacher 2017-04-08 18:43:08 -07:00
parent eac027233e
commit cea5cb99b2
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,3 @@
Source: xerces-c
Version: 3.1.4-1
Version: 3.1.4-2
Description: Xerces-C++ is a XML parser, for parsing, generating, manipulating, and validating XML documents using the DOM, SAX, and SAX2 APIs.

View File

@ -8,8 +8,12 @@
include(vcpkg_common_functions)
if (VCPKG_LIBRARY_LINKAGE STREQUAL "static")
message(STATUS "Static linking not supported; building dynamic instead")
set(VCPKG_LIBRARY_LINKAGE )
message(STATUS "Static libraries not supported; building dynamic instead")
set(VCPKG_LIBRARY_LINKAGE "dynamic")
endif()
if (VCPKG_CRT_LINKAGE STREQUAL "static")
message(STATUS "Static linking against the CRT not supported; building dynamic instead")
set(VCPKG_CRT_LINKAGE "dynamic")
endif()