diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx index f66d1d354..02af73809 100644 --- a/Source/cmNinjaTargetGenerator.cxx +++ b/Source/cmNinjaTargetGenerator.cxx @@ -341,7 +341,8 @@ cmNinjaTargetGenerator useClDeps = true; if (projectName && std::string(projectName) == "CMAKE_TRY_COMPILE") { - // don't wrap for try_compile, TODO but why doesn't it work with cmcldeps? + // don't wrap for try_compile, + // TODO but why doesn't it work with cmcldeps? useClDeps = false; } } @@ -382,7 +383,8 @@ cmNinjaTargetGenerator if(useClDeps) { std::string prefix = clShowPrefix; - cmdLine = "\"" + std::string(clDepsBinary) + "\" $in $out.d $out \"" + prefix + "\" " + cmdLine; + cmdLine = "\"" + std::string(clDepsBinary) + "\" $in $out.d $out \"" + + prefix + "\" " + cmdLine; } // Write the rule for compiling file of the given language.