summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2022-08-05 08:54:45 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2022-08-22 14:25:53 (GMT)
commit3d94ee0e03a82e602a8ce6c2b745f29285e69fd4 (patch)
treee5c64e32531df49d2e45d5f8cf39da4920ed66e3 /Source/cmMakefile.h
parent553da0685f4ed8785a0426caebad7338e8813322 (diff)
downloadCMake-3d94ee0e03a82e602a8ce6c2b745f29285e69fd4.zip
CMake-3d94ee0e03a82e602a8ce6c2b745f29285e69fd4.tar.gz
CMake-3d94ee0e03a82e602a8ce6c2b745f29285e69fd4.tar.bz2
cmMakefile::RaiseScope: Add support for cmValue argument
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index df40c82..0198ec1 100644
--- a/Source/cmMakefile.h
+++ b/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();