diff options
author | Brad King <brad.king@kitware.com> | 2017-09-15 12:53:00 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-09-15 12:54:32 (GMT) |
commit | c0c5f924fe46fcf83603117689b372cb8520c4bb (patch) | |
tree | 3abb6b0d1b361ce133ecdc8df41a679e7e7e37c7 /Source/cmMakefileTargetGenerator.cxx | |
parent | 3449c18c36a9acf29dfbb228ee76059cc4b9127f (diff) | |
parent | 3bbe95f58a8fb83e56ca9023ef01b9e70b391b05 (diff) | |
download | CMake-c0c5f924fe46fcf83603117689b372cb8520c4bb.zip CMake-c0c5f924fe46fcf83603117689b372cb8520c4bb.tar.gz CMake-c0c5f924fe46fcf83603117689b372cb8520c4bb.tar.bz2 |
Merge topic 'refactor-iwyu-code'
3bbe95f5 Clean up iwyu code to not be one big if statement.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1247
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index 2acd57a..1e4e02e 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -629,7 +629,7 @@ void cmMakefileTargetGenerator::WriteObjectBuildFile( const char* cppcheck = this->GeneratorTarget->GetProperty(cppcheck_prop); if ((iwyu && *iwyu) || (tidy && *tidy) || (cpplint && *cpplint) || (cppcheck && *cppcheck)) { - std::string run_iwyu = "$(CMAKE_COMMAND) -E __run_iwyu"; + std::string run_iwyu = "$(CMAKE_COMMAND) -E __run_co_compile"; if (iwyu && *iwyu) { run_iwyu += " --iwyu="; run_iwyu += this->LocalGenerator->EscapeForShell(iwyu); |