mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-07-05 17:48:38 +00:00
Merge pull request #22 from iapain/master
Compilation error due to wrong headers
This commit is contained in:
commit
475aff9897
|
@ -79,7 +79,8 @@ else()
|
||||||
set(PDF2HTMLEX_LIBS ${PDF2HTMLEX_LIBS} ${PYTHON_LIBRARIES})
|
set(PDF2HTMLEX_LIBS ${PDF2HTMLEX_LIBS} ${PYTHON_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_path(FF_CONFIG_INCLUDE_PATH config.h PATHS ${FONTFORGE_INCLUDE_DIRS})
|
find_path(FF_CONFIG_INCLUDE_PATH config.h PATHS
|
||||||
|
${FONTFORGE_INCLUDE_DIRS} NO_DEFAULT_PATH)
|
||||||
if(FF_CONFIG_INCLUDE_PATH)
|
if(FF_CONFIG_INCLUDE_PATH)
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -include ${FF_CONFIG_INCLUDE_PATH}/config.h")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -include ${FF_CONFIG_INCLUDE_PATH}/config.h")
|
||||||
message("Found config.h: ${FF_CONFIG_INCLUDE_PATH}/config.h")
|
message("Found config.h: ${FF_CONFIG_INCLUDE_PATH}/config.h")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user