summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaNormalTargetGenerator.cxx
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-02-19 10:30:07 (GMT)
committerPeter Kuemmel <syntheticpp@gmx.net>2012-02-19 10:30:07 (GMT)
commitadb54f3dbf802f643c8af9f8de6f67f24804dd22 (patch)
treeaa1c66af0924c5f077de120655f444df2295b6b1 /Source/cmNinjaNormalTargetGenerator.cxx
parent895914881be32f862dee638a0a86313366f9b7b4 (diff)
downloadCMake-adb54f3dbf802f643c8af9f8de6f67f24804dd22.zip
CMake-adb54f3dbf802f643c8af9f8de6f67f24804dd22.tar.gz
CMake-adb54f3dbf802f643c8af9f8de6f67f24804dd22.tar.bz2
Ninja: add some hacks for Windows
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index 0174c3d..97b46bf 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -172,8 +172,7 @@ cmNinjaNormalTargetGenerator
i != linkCmds.end();
++i)
{
-#ifdef _WIN32
- // HACK: no TARGET_IMPLIB here???
+#ifdef ENABLE_WIN32_NINJA_HACKS
cmSystemTools::ReplaceString(*i, "/implib:", "");
#endif
this->GetLocalGenerator()->ExpandRuleVariables(*i, vars);