Browse Source

Merge topic 'lwyu-hides-link-error'

85aceda026 cmNinjaNormalTargetGenerator: don't use `|| true` for link-what-you-use

Acked-by: Kitware Robot <[email protected]>
Merge-request: !2546
Brad King 7 years ago
parent
commit
e5d298b8fd
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Source/cmNinjaNormalTargetGenerator.cxx

+ 0 - 1
Source/cmNinjaNormalTargetGenerator.cxx

@@ -506,7 +506,6 @@ std::vector<std::string> cmNinjaNormalTargetGenerator::ComputeLinkCmd()
           gt.GetFullPath(cfgName, cmStateEnums::RuntimeBinaryArtifact,
                          /*realname=*/true));
         cmakeCommand += targetOutputReal;
-        cmakeCommand += " || true";
         linkCmds.push_back(std::move(cmakeCommand));
       }
       return linkCmds;