mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
better fontforge handling in cmake
This commit is contained in:
parent
5986cee893
commit
95331d061b
@ -15,7 +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})
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -include ${FF_INCLUDE_PATH}/fontforge/fontforge.h")
|
||||
include_directories(${FF_INCLUDE_PATH}/fontforge)
|
||||
else()
|
||||
message(FATAL_ERROR "Error: cannot locate fontforge.h")
|
||||
|
Loading…
Reference in New Issue
Block a user