Bläddra i källkod

BUG: Support paths with spaces

Andy Cedilnik 21 år sedan
förälder
incheckning
4fbf360a26
1 ändrade filer med 2 tillägg och 2 borttagningar
  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;
         }
       }
     }