summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaNormalTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-20 12:40:36 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-09-20 12:40:36 (GMT)
commit160a7ad64092299096f79b2ff1adf5bbcc8cad77 (patch)
treed5a2d15a5bac4df970df8ac410643320d5d6295b /Source/cmNinjaNormalTargetGenerator.cxx
parent9034a7acc5540cc068b696d86e122a2ac66329fc (diff)
parent6429d6d9dd94523c75e982fa875028e3e32a0629 (diff)
downloadCMake-160a7ad64092299096f79b2ff1adf5bbcc8cad77.zip
CMake-160a7ad64092299096f79b2ff1adf5bbcc8cad77.tar.gz
CMake-160a7ad64092299096f79b2ff1adf5bbcc8cad77.tar.bz2
Merge topic 'cleanup-Convert'
6429d6d9 cmOutputConverter: Remove now-obsolete Convert method ad790617 Convert: Inline uses of START_OUTPUT 4cf707b0 Convert: Remove HOME_OUTPUT enum value 3d12ffbf Ninja: Update comment variable reference 4d69ac76 Convert: Move access to BinaryDirectory out of loops e7c89567 Convert: Inline uses of HOME_OUTPUT dc510919 Common: Use a string instead of enum for WorkingDirectory 76833149 Convert: Simplify switch dc95020e Convert: Remove obsolete MAKERULE enum value 1825f876 Convert: Move access to BinaryDirectory out of loops 25c39ac2 Convert: Inline HOME_OUTPUT MAKERULE conversion 516e79ba Convert: Inline MAKERULE conversions e13e519e Convert: Move access to BinaryDirectory out of loops 34c6e995 Convert: Avoid HOME_OUTPUT enum when converting to relative paths 839c65bc Convert: Move access to CurrentBinaryDirectory out of loops 21b5fdf9 Convert: Avoid START_OUTPUT enum when converting to relative paths ...
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index b2384b0..f87a788 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -642,7 +642,8 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
}
}
}
- // If we have any PRE_LINK commands, we need to go back to HOME_OUTPUT for
+ // If we have any PRE_LINK commands, we need to go back to CMAKE_BINARY_DIR
+ // for
// the link commands.
if (!preLinkCmdLines.empty()) {
const std::string homeOutDir = localGen.ConvertToOutputFormat(