summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index c27afcf..3f59c97 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -2183,7 +2183,7 @@ cmLocalUnixMakefileGenerator3
cmTarget* target = m_Makefile->FindTarget(name);
// If no target was found in the current makefile search globally.
- bool local = target;
+ bool local = target?true:false;
if(!local)
{
target = m_GlobalGenerator->FindTarget(0, name);