Browse Source

BUG: Support paths with spaces

Andy Cedilnik 21 năm trước cách đây
mục cha
commit
4fbf360a26
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Source/cmLocalGenerator.cxx

+ 2 - 2
Source/cmLocalGenerator.cxx

@@ -134,7 +134,7 @@ void cmLocalGenerator::GenerateInstallRules()
       const char* postinstall = l->second.GetProperty("POST_INSTALL_SCRIPT");
       if ( preinstall )
         {
-        fout << "INCLUDE(" << preinstall << ")" << std::endl;
+        fout << "INCLUDE(\"" << preinstall << "\")" << std::endl;
         }
 
       std::string fname;
@@ -235,7 +235,7 @@ void cmLocalGenerator::GenerateInstallRules()
         }
       if ( postinstall )
         {
-        fout << "INCLUDE(" << postinstall << ")" << std::endl;
+        fout << "INCLUDE(\"" << postinstall << "\")" << std::endl;
         }
       }
     }