Commit bb40c980 authored by Yury G. Kudryashov's avatar Yury G. Kudryashov Committed by Albert Astals Cid
Browse files

Explicitly include fontconfig include dir

This fixes cmake-driven build on systems where fontconfig is installed in
non-standard location.
parent 776ca137
...@@ -131,6 +131,7 @@ endif(ENABLE_LIBCURL) ...@@ -131,6 +131,7 @@ endif(ENABLE_LIBCURL)
add_definitions(-DHAVE_CONFIG_H=1) add_definitions(-DHAVE_CONFIG_H=1)
if(FONTCONFIG_FOUND) if(FONTCONFIG_FOUND)
add_definitions(${FONTCONFIG_DEFINITIONS}) add_definitions(${FONTCONFIG_DEFINITIONS})
include_directories(${FONTCONFIG_INCLUDE_DIR})
endif(FONTCONFIG_FOUND) endif(FONTCONFIG_FOUND)
if(WITH_FONTCONFIGURATION_WIN32) if(WITH_FONTCONFIGURATION_WIN32)
if(MINGW) if(MINGW)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment