Merge pull request #975 from madebr/fontconfig_escape

fontconfig: Escape FC_INCLUDE_DIR since it can contain spaces
This commit is contained in:
Alexander Karatarakis 2017-04-24 13:12:39 -07:00 committed by GitHub
commit 403b4809a1

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0)
project(fontconfig)
add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS)
add_definitions(-FI${FC_INCLUDE_DIR}/config.h)
add_definitions(-FI"${FC_INCLUDE_DIR}/config.h")
if(CMAKE_BUILD_TYPE STREQUAL Debug)
set(LIB_SUFFIX d)