Fixes build if the build path has spaces in it.

This commit is contained in:
Ryan Houdek 2014-05-23 18:24:08 -05:00
parent a2d73ed525
commit d710e3af82

View File

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