Browse Source

BUG: make sure install works with spaces in the path

Bill Hoffman 21 years ago
parent
commit
cc2ab62f1c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/cmLocalGenerator.cxx

+ 2 - 2
Source/cmLocalGenerator.cxx

@@ -258,8 +258,8 @@ void cmLocalGenerator::GenerateInstallRules()
       std::string odir = mf->GetCurrentOutputDirectory();
       odir += "/" + (*i).first;
       cmSystemTools::ConvertToUnixSlashes(odir);
-      fout << "INCLUDE(" <<  odir.c_str() 
-           << "/cmake_install.cmake)" << std::endl;
+      fout << "INCLUDE(\"" <<  odir.c_str() 
+           << "/cmake_install.cmake\")" << std::endl;
       }
     fout << std::endl;;
     }