Merge pull request #398 from Sonicadvance1/Fix-Spaced-Build-Path

Fixes build if the build path has spaces in it.
This commit is contained in:
Pierre Bourdon 2014-05-24 01:29:20 +02:00
commit d71e20880f
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ macro(add_dolphin_library lib srcs libs)
add_dependencies(${lib} pch)
set_source_files_properties(
${srcs} PROPERTIES
COMPILE_FLAGS "-include ${pch_out_filename}"
COMPILE_FLAGS "-include '${pch_out_filename}'"
OBJECT_DEPENDS "${pch_lib_filename}")
endif(ENABLE_PCH)
endmacro(add_dolphin_library)