summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalJOMMakefileGenerator.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-09-18 09:05:36 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2021-09-19 17:11:07 (GMT)
commitdffa3f485ce5a2336a7fd06c94522e53b0cab37e (patch)
tree8cbe526dc41e5f094129436f774042de9a184b52 /Source/cmGlobalJOMMakefileGenerator.cxx
parent062432a6bc1f334f17200a88a04d3c8e02a4fd94 (diff)
downloadCMake-dffa3f485ce5a2336a7fd06c94522e53b0cab37e.zip
CMake-dffa3f485ce5a2336a7fd06c94522e53b0cab37e.tar.gz
CMake-dffa3f485ce5a2336a7fd06c94522e53b0cab37e.tar.bz2
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 fc3123a..0d474e5 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 */