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/cmMakefileLibraryTargetGenerator.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/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileLibraryTargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx index 34c285c..68d73d4 100644 --- a/Source/cmMakefileLibraryTargetGenerator.cxx +++ b/Source/cmMakefileLibraryTargetGenerator.cxx @@ -932,7 +932,7 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules( (this->GeneratorTarget->GetType() == cmStateEnums::SHARED_LIBRARY)) { std::string cmakeCommand = this->LocalGenerator->ConvertToOutputFormat( cmSystemTools::GetCMakeCommand(), cmLocalGenerator::SHELL); - cmakeCommand += " -E __run_iwyu --lwyu="; + cmakeCommand += " -E __run_co_compile --lwyu="; cmakeCommand += targetOutPathReal; real_link_commands.push_back(cmakeCommand); } |