1
0
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:
Michał Janiszewski
2017-01-04 16:09:53 +01:00
committed by GitHub
parent 360018a82b
commit fa51d15c34

View File

@@ -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/