mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 00:04:43 +01:00
Remove fontconfig from TTF-less configuration
This commit is contained in:
committed by
GitHub
parent
360018a82b
commit
fa51d15c34
@@ -375,12 +375,12 @@ else (WIN32)
|
||||
add_custom_target(g2 DEPENDS ${PROJECT} g2.dat)
|
||||
endif (WIN32)
|
||||
|
||||
if (UNIX AND NOT APPLE)
|
||||
if (UNIX AND NOT APPLE AND NOT DISABLE_TTF)
|
||||
# FontConfig for TrueType fonts.
|
||||
PKG_CHECK_MODULES(FONTCONFIG REQUIRED fontconfig)
|
||||
INCLUDE_DIRECTORIES(${FONTCONFIG_INCLUDE_DIRS})
|
||||
TARGET_LINK_LIBRARIES(${PROJECT} ${FONTCONFIG_LIBRARIES})
|
||||
endif (UNIX AND NOT APPLE)
|
||||
endif (UNIX AND NOT APPLE AND NOT DISABLE_TTF)
|
||||
|
||||
|
||||
# install into ${CMAKE_INSTALL_PREFIX}/bin/
|
||||
|
||||
Reference in New Issue
Block a user