From d710e3af821f7e818c0623dbde33ee9c2293dd8b Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Fri, 23 May 2014 18:24:08 -0500 Subject: [PATCH] Fixes build if the build path has spaces in it. --- Source/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 240dcfb5fd..917c00efef 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -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)