aboutsummaryrefslogtreecommitdiff
path: root/cmake/macros/FindPCHSupport.cmake
diff options
context:
space:
mode:
authorSpp <spp@jorge.gr>2013-03-26 13:45:47 +0100
committerSpp <spp@jorge.gr>2013-03-26 13:45:47 +0100
commit51287930cb147cace9308713d0affddbf38df4d8 (patch)
treea356bdb22d38e51eff75ee470d474dc80e95b015 /cmake/macros/FindPCHSupport.cmake
parent3c6c8c11178108482ae5f9848ce402292e7367ce (diff)
Core/Build: All include directories are quoted to support path with spaces
Closes #9504
Diffstat (limited to 'cmake/macros/FindPCHSupport.cmake')
-rw-r--r--cmake/macros/FindPCHSupport.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/macros/FindPCHSupport.cmake b/cmake/macros/FindPCHSupport.cmake
index a93182cd8f6..b068b69c26b 100644
--- a/cmake/macros/FindPCHSupport.cmake
+++ b/cmake/macros/FindPCHSupport.cmake
@@ -3,7 +3,7 @@ FUNCTION(GET_COMMON_PCH_PARAMS PCH_HEADER PCH_FE INCLUDE_PREFIX)
GET_DIRECTORY_PROPERTY(TARGET_INCLUDES INCLUDE_DIRECTORIES)
FOREACH(ITEM ${TARGET_INCLUDES})
- LIST(APPEND INCLUDE_FLAGS_LIST "${INCLUDE_PREFIX}${ITEM} ")
+ LIST(APPEND INCLUDE_FLAGS_LIST "${INCLUDE_PREFIX}\"${ITEM}\" ")
ENDFOREACH(ITEM)
SET(PCH_HEADER_NAME ${PCH_HEADER_N} PARENT_SCOPE)