mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 09:43:02 +08:00
[xalan-c] Add check for static/static
This commit is contained in:
parent
c70da3bc3a
commit
6242e8f7bd
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user