summaryrefslogtreecommitdiff
path: root/Source/cmGlobalJOMMakefileGenerator.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-09-18 11:05:36 +0200
committerMarc Chevrier <marc.chevrier@gmail.com>2021-09-19 19:11:07 +0200
commitdffa3f485ce5a2336a7fd06c94522e53b0cab37e (patch)
tree8cbe526dc41e5f094129436f774042de9a184b52 /Source/cmGlobalJOMMakefileGenerator.cxx
parent062432a6bc1f334f17200a88a04d3c8e02a4fd94 (diff)
downloadcmake-dffa3f485ce5a2336a7fd06c94522e53b0cab37e.tar.gz
cmGlobalGenerator::PrintCompilerAdvice: use cmProp as augment
Diffstat (limited to 'Source/cmGlobalJOMMakefileGenerator.cxx')
-rw-r--r--Source/cmGlobalJOMMakefileGenerator.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGlobalJOMMakefileGenerator.cxx b/Source/cmGlobalJOMMakefileGenerator.cxx
index fc3123a44d..0d474e50d1 100644
--- a/Source/cmGlobalJOMMakefileGenerator.cxx
+++ b/Source/cmGlobalJOMMakefileGenerator.cxx
@@ -39,8 +39,9 @@ void cmGlobalJOMMakefileGenerator::GetDocumentation(
entry.Brief = "Generates JOM makefiles.";
}
-void cmGlobalJOMMakefileGenerator::PrintCompilerAdvice(
- std::ostream& os, std::string const& lang, const char* envVar) const
+void cmGlobalJOMMakefileGenerator::PrintCompilerAdvice(std::ostream& os,
+ std::string const& lang,
+ cmProp envVar) const
{
if (lang == "CXX" || lang == "C") {
/* clang-format off */