This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 8d7281e658faffd529561dde90aecf10c70001b4 (commit)
via aa29e64d77504a50cb8fe6ef5c7d2642170ea07f (commit)
from e3977d611d579a61e8fa160aad858d3b026cda40 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8d7281e658faffd529561dde90aecf10c70001b4
commit 8d7281e658faffd529561dde90aecf10c70001b4
Merge: e3977d6 aa29e64
Author: Stephen Kelly <[email protected]>
AuthorDate: Thu Nov 21 07:22:06 2013 -0500
Commit: CMake Topic Stage <[email protected]>
CommitDate: Thu Nov 21 07:22:06 2013 -0500
Merge topic 'use-generator-target' into next
aa29e64 Add a null check to the generator target accessor.
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=aa29e64d77504a50cb8fe6ef5c7d2642170ea07f
commit aa29e64d77504a50cb8fe6ef5c7d2642170ea07f
Author: Stephen Kelly <[email protected]>
AuthorDate: Wed Oct 10 21:29:57 2012 +0200
Commit: Stephen Kelly <[email protected]>
CommitDate: Thu Nov 21 13:21:43 2013 +0100
Add a null check to the generator target accessor.
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index ac8381c..360b3d9 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -4061,8 +4061,11 @@ bool cmMakefile::IsAlias(const char *name)
//----------------------------------------------------------------------------
cmGeneratorTarget* cmMakefile::FindGeneratorTargetToUse(const char* name)
{
- cmTarget *t = this->FindTargetToUse(name);
- return this->LocalGenerator->GetGlobalGenerator()->GetGeneratorTarget(t);
+ if (cmTarget *t = this->FindTargetToUse(name))
+ {
+ return this->LocalGenerator->GetGlobalGenerator()->GetGeneratorTarget(t);
+ }
+ return 0;
}
//----------------------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
hooks/post-receive
--
CMake
_______________________________________________
Cmake-commits mailing list
[email protected]
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits