mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
[fontconfig] don't build font cache in case of crosscompile (#22483)
This commit is contained in:
parent
7180c62fd9
commit
95c1b6fe50
@ -67,7 +67,7 @@ file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share
|
||||
|
||||
|
||||
# Build the fontconfig cache
|
||||
if(NOT VCPKG_TARGET_IS_WINDOWS)
|
||||
if(NOT VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_CROSSCOMPILING)
|
||||
set(ENV{FONTCONFIG_PATH} "${CURRENT_PACKAGES_DIR}/etc/fonts")
|
||||
set(ENV{FONTCONFIG_FILE} "${CURRENT_PACKAGES_DIR}/etc/fonts/fonts.conf")
|
||||
vcpkg_execute_required_process(COMMAND "${CURRENT_PACKAGES_DIR}/bin/fc-cache${VCPKG_TARGET_EXECUTABLE_SUFFIX}" --verbose
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "fontconfig",
|
||||
"version": "2.13.94",
|
||||
"port-version": 4,
|
||||
"port-version": 5,
|
||||
"description": "Library for configuring and customizing font access.",
|
||||
"homepage": "https://www.freedesktop.org/wiki/Software/fontconfig",
|
||||
"dependencies": [
|
||||
|
@ -2230,7 +2230,7 @@
|
||||
},
|
||||
"fontconfig": {
|
||||
"baseline": "2.13.94",
|
||||
"port-version": 4
|
||||
"port-version": 5
|
||||
},
|
||||
"foonathan-memory": {
|
||||
"baseline": "2019-07-21",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2f32046747209c234e60dc297b48d5bdc7ee4494",
|
||||
"version": "2.13.94",
|
||||
"port-version": 5
|
||||
},
|
||||
{
|
||||
"git-tree": "41142efe19b6591f0de47857a32fecdb8bbfc717",
|
||||
"version": "2.13.94",
|
||||
|
Loading…
x
Reference in New Issue
Block a user