make cmLocalGenerator::EscapeForCMake() static

This way it can be used also if there is no cmLocalGenerator instance around

Alex
This commit is contained in:
Alex Neundorf 2012-03-20 22:50:44 +01:00
parent 58db6ac299
commit c652812af7
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ public:
std::string EscapeForShellOldStyle(const char* str); std::string EscapeForShellOldStyle(const char* str);
/** Escape the given string as an argument in a CMake script. */ /** Escape the given string as an argument in a CMake script. */
std::string EscapeForCMake(const char* str); static std::string EscapeForCMake(const char* str);
enum FortranFormat enum FortranFormat
{ {