diff options
author | Amitha Perera <perera@cs.rpi.edu> | 2002-05-02 06:27:26 (GMT) |
---|---|---|
committer | Amitha Perera <perera@cs.rpi.edu> | 2002-05-02 06:27:26 (GMT) |
commit | 3d4230033ad4eae858c2fd3400e0d7bf8007d1a8 (patch) | |
tree | f538a7be3ef883ff3a41b42fd0aff8371955197a | |
parent | 386f4391b251360079a99a1bd2ba7fca58c83640 (diff) | |
download | CMake-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.cxx | 2 |
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 |