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

This commit is contained in:
Amitha Perera 2002-05-02 02:27:26 -04:00
parent 386f4391b2
commit 3d4230033a
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ void cmTarget::GatherDependencies( const cmMakefile& mf,
return; return;
const char* deps = mf.GetDefinition( (lib+"_LIB_DEPENDS").c_str() ); 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 // Make sure this library is in the map, even if it has an empty
// set of dependencies. This distinguishes the case of explicitly // set of dependencies. This distinguishes the case of explicitly