Commit 3d423003 authored by Amitha Perera's avatar Amitha Perera

BUG: if a_LIBS_DEPENDS exists but is empty, there are no explicit dependencies.

parent 386f4391
......@@ -311,7 +311,7 @@ void cmTarget::GatherDependencies( const cmMakefile& mf,
const char* deps = mf.GetDefinition( (lib+"_LIB_DEPENDS").c_str() );
if( deps )
if( deps && strcmp(deps,"") != 0 )
// Make sure this library is in the map, even if it has an empty
// set of dependencies. This distinguishes the case of explicitly
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment