Escape FC_INCLUDE_DIR since it can contain spaces

fixes: fatal error C1083: Cannot open include file
This commit is contained in:
Anonymous Maarten 2017-04-24 03:01:12 +02:00
parent 1cbb3e8714
commit fe35beee46

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)