summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitha Perera <perera@cs.rpi.edu>2002-05-02 06:27:26 (GMT)
committerAmitha Perera <perera@cs.rpi.edu>2002-05-02 06:27:26 (GMT)
commit3d4230033ad4eae858c2fd3400e0d7bf8007d1a8 (patch)
treef538a7be3ef883ff3a41b42fd0aff8371955197a
parent386f4391b251360079a99a1bd2ba7fca58c83640 (diff)
downloadCMake-3d4230033ad4eae858c2fd3400e0d7bf8007d1a8.zip
CMake-3d4230033ad4eae858c2fd3400e0d7bf8007d1a8.tar.gz
CMake-3d4230033ad4eae858c2fd3400e0d7bf8007d1a8.tar.bz2
BUG: if a_LIBS_DEPENDS exists but is empty, there are no explicit dependencies.
-rw-r--r--Source/cmTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 2896f46..2c27c9c 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -311,7 +311,7 @@ void cmTarget::GatherDependencies( const cmMakefile& mf,
return;
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