mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 05:53:22 +08:00
[freetype] Disabled Harfbuzz check for non-Windows platforms (#10073)
* Added ifdef and disabled Harfbuzz check for non-Windows machines * Updated portfile and CONTROL as requested
This commit is contained in:
parent
cf405d4ed0
commit
93045f2974
@ -1,5 +1,5 @@
|
||||
Source: freetype
|
||||
Version: 2.10.1-4
|
||||
Version: 2.10.1-5
|
||||
Build-Depends: zlib
|
||||
Homepage: https://www.freetype.org/
|
||||
Description: A library to render fonts.
|
||||
|
@ -31,6 +31,11 @@ else()
|
||||
set(ENABLE_DLL_EXPORT ON)
|
||||
endif()
|
||||
|
||||
set(OPTIONS)
|
||||
if (NOT VCPKG_TARGET_IS_WINDOWS)
|
||||
list(APPEND OPTIONS -DFT_DISABLE_FIND_PACKAGE_Harfbuzz=TRUE)
|
||||
endif()
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
@ -39,6 +44,7 @@ vcpkg_configure_cmake(
|
||||
-DFT_WITH_ZLIB=ON # Force system zlib.
|
||||
${FEATURE_OPTIONS}
|
||||
-DENABLE_DLL_EXPORT=${ENABLE_DLL_EXPORT}
|
||||
${OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
Loading…
x
Reference in New Issue
Block a user