mirror of https://github.com/OpenRCT2/OpenRCT2.git
Remove fontconfig from TTF-less configuration
This commit is contained in:
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/
|
||||
|
|
Loading…
Reference in New Issue