1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-03 00:35:40 +00:00

workaround for fontforge/config.h

This commit is contained in:
Lu Wang 2012-09-05 22:18:29 +08:00
parent 27b11243bd
commit 5e71c166fc
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ link_directories(${Boost_LIBRARY_DIRS})
find_path(FF_INCLUDE_PATH fontforge/fontforge.h)
if(FF_INCLUDE_PATH)
message("Found fontforge.h: ${FF_INCLUDE_PATH}/fontforge/fontforge.h")
include_directories(${FF_INCLUDE_PATH})
include_directories(${FF_INCLUDE_PATH}/fontforge)
else()
message(FATAL_ERROR "Error: cannot locate fontforge.h")

View File

@ -12,6 +12,7 @@
#include <string.h>
#include <stdarg.h>
#include <fontforge/config.h>
#include <fontforge.h>
#include <baseviews.h>