diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2021-09-18 11:05:36 +0200 |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2021-09-19 19:11:07 +0200 |
commit | dffa3f485ce5a2336a7fd06c94522e53b0cab37e (patch) | |
tree | 8cbe526dc41e5f094129436f774042de9a184b52 /Source/cmGlobalJOMMakefileGenerator.cxx | |
parent | 062432a6bc1f334f17200a88a04d3c8e02a4fd94 (diff) | |
download | cmake-dffa3f485ce5a2336a7fd06c94522e53b0cab37e.tar.gz |
cmGlobalGenerator::PrintCompilerAdvice: use cmProp as augment
Diffstat (limited to 'Source/cmGlobalJOMMakefileGenerator.cxx')
-rw-r--r-- | Source/cmGlobalJOMMakefileGenerator.cxx | 5 |
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 */ |