mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 09:43:02 +08:00
Escape FC_INCLUDE_DIR since it can contain spaces
fixes: fatal error C1083: Cannot open include file
This commit is contained in:
parent
1cbb3e8714
commit
fe35beee46
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user