[xalan-c] Add check for static/static

This commit is contained in:
Robert Schumacher 2017-04-23 08:35:13 -07:00
parent c70da3bc3a
commit 6242e8f7bd
2 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,4 @@
Source: xalan-c
Version: 1.11
Version: 1.11-1
Description: Xalan is an XSLT processor for transforming XML documents into HTML, text, or other XML document types
Build-Depends: xerces-c

View File

@ -10,6 +10,15 @@
# VCPKG_TARGET_ARCHITECTURE = target architecture (x64, x86, arm)
#
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
message(STATUS "Only DLL builds are currently supported.")
set(VCPKG_LIBRARY_LINKAGE "dynamic")
endif()
if(VCPKG_CRT_LINKAGE STREQUAL "static")
message(FATAL_ERROR "Only dynamic linking against the CRT is currently supported.")
endif()
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/xalan-c-1.11)
vcpkg_download_distfile(ARCHIVE