From c652812af741c2468ad5b58e789244700aa51be5 Mon Sep 17 00:00:00 2001 From: Alex Neundorf Date: Tue, 20 Mar 2012 22:50:44 +0100 Subject: [PATCH] make cmLocalGenerator::EscapeForCMake() static This way it can be used also if there is no cmLocalGenerator instance around Alex --- Source/cmLocalGenerator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index 124747bad..3e938197a 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -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 {