Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Riley Smith
poppler
Commits
0607f962
Unverified
Commit
0607f962
authored
Oct 09, 2022
by
Riley Smith
Browse files
patch out fontconfig
parent
2b65dde7
Pipeline
#707370
failed with stages
in 3 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
0607f962
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment