mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
don't include freetype without ENABLE_SVG
This commit is contained in:
parent
dd9d21cb19
commit
7f57ff316e
@ -48,13 +48,12 @@ if(ENABLE_SVG)
|
||||
else()
|
||||
message(FATAL_ERROR "Error: no SVG support found in Cairo")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
find_package(Freetype REQUIRED)
|
||||
include_directories(${FREETYPE_INCLUDE_DIRS})
|
||||
link_directories(${FREETYPE_LIBRARY_DIRS})
|
||||
set(PDF2HTMLEX_LIBS ${PDF2HTMLEX_LIBS} ${FREETYPE_LIBRARIES})
|
||||
|
||||
endif()
|
||||
|
||||
# fontforge starts using pkg-config 'correctly' since 2.0.0
|
||||
pkg_check_modules(FONTFORGE libfontforge>=2.0.0)
|
||||
|
Loading…
Reference in New Issue
Block a user