diff options
author | Brad King <brad.king@kitware.com> | 2015-09-18 12:47:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-09-18 14:01:25 (GMT) |
commit | 828c05b9f567e0652ebbee6df2799a189ff586fe (patch) | |
tree | 94c0e1f15447d5edf18404855349ee4b565f976a /Source/cmNinjaTargetGenerator.cxx | |
parent | c73fbda66b5985e4ba99499f871ffd19bcf32aaa (diff) | |
download | CMake-828c05b9f567e0652ebbee6df2799a189ff586fe.zip CMake-828c05b9f567e0652ebbee6df2799a189ff586fe.tar.gz CMake-828c05b9f567e0652ebbee6df2799a189ff586fe.tar.bz2 |
Ninja: Refactor lookup of cmcldeps location
This executable comes with CMake so just compute its location in
cmSystemTools instead of storing it in compiler information modules.
Diffstat (limited to 'Source/cmNinjaTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaTargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx index 752c8a7..f46c5b9 100644 --- a/Source/cmNinjaTargetGenerator.cxx +++ b/Source/cmNinjaTargetGenerator.cxx @@ -371,7 +371,7 @@ cmNinjaTargetGenerator mf->GetSafeDefinition("CMAKE_C_COMPILER") : mf->GetSafeDefinition("CMAKE_CXX_COMPILER"); cldeps = "\""; - cldeps += mf->GetSafeDefinition("CMAKE_CMCLDEPS_EXECUTABLE"); + cldeps += cmSystemTools::GetCMClDepsCommand(); cldeps += "\" " + lang + " $in \"$DEP_FILE\" $out \""; cldeps += mf->GetSafeDefinition("CMAKE_CL_SHOWINCLUDES_PREFIX"); cldeps += "\" \"" + cl + "\" "; |