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 committed 2012-03-26 21:45:07 +02:00
1 parent 58db6ac299
commit c652812af7
1 file changed
+1 -1
+1 -1
View File
@@ -251,7 +251,7 @@ public:
std::string EscapeForShellOldStyle(const char* str);
/** 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
{