Browse Source

cmMakefile::RaiseScope: Add support for cmValue argument

Marc Chevrier 3 years ago
parent
commit
3d94ee0e03
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Source/cmMakefile.h

+ 4 - 0
Source/cmMakefile.h

@@ -862,6 +862,10 @@ public:
   void PushScope();
   void PopScope();
   void RaiseScope(const std::string& var, const char* value);
+  void RaiseScope(const std::string& var, cmValue value)
+  {
+    this->RaiseScope(var, value.GetCStr());
+  }
 
   // push and pop loop scopes
   void PushLoopBlockBarrier();