Unverified Commit 0607f962 authored by Riley Smith's avatar Riley Smith
Browse files

patch out fontconfig

parent 2b65dde7
Pipeline #707370 failed with stages
in 3 minutes and 51 seconds
......@@ -109,14 +109,15 @@ if(NOT (EXISTS ${TESTDATADIR} AND EXISTS ${TESTDATADIR}/test-poppler.c))
")
endif()
if(WIN32)
set(_default_fontconfiguration "win32")
elseif(ANDROID)
# on android we don't have fontconfig and we don't want windows-specific code
set(_default_fontconfiguration "generic")
else()
set(_default_fontconfiguration "fontconfig")
endif()
# if(WIN32)
# set(_default_fontconfiguration "win32")
# elseif(ANDROID)
# # on android we don't have fontconfig and we don't want windows-specific code
# set(_default_fontconfiguration "generic")
# else()
# set(_default_fontconfiguration "fontconfig")
# endif()
set(FONT_CONFIGURATION "${_default_fontconfiguration}" CACHE STRING "The font configuration backend (win32|generic|fontconfig).")
string(TOLOWER "${FONT_CONFIGURATION}" font_configuration)
set(WITH_FONTCONFIGURATION_WIN32 OFF)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment