summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-08-27 14:21:41 (GMT)
committerBrad King <brad.king@kitware.com>2008-08-27 14:21:41 (GMT)
commit32fe1d5b0d79ba4298c95e14f2815e61a05a0e38 (patch)
tree1bd166053cf59c520dda617e706a727bcb296dfc
parent1dfc557322b1193d0589a77f4af4dc48b75b13bd (diff)
downloadCMake-32fe1d5b0d79ba4298c95e14f2815e61a05a0e38.zip
CMake-32fe1d5b0d79ba4298c95e14f2815e61a05a0e38.tar.gz
CMake-32fe1d5b0d79ba4298c95e14f2815e61a05a0e38.tar.bz2
BUG: Treat empty config name as no configuration
In cmComputeLinkDepends we should treat an empty configuration name as equivalent to no specific configuration at all.
-rw-r--r--Source/cmComputeLinkDepends.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmComputeLinkDepends.cxx b/Source/cmComputeLinkDepends.cxx
index df329a6..e3ef604 100644
--- a/Source/cmComputeLinkDepends.cxx
+++ b/Source/cmComputeLinkDepends.cxx
@@ -171,7 +171,7 @@ cmComputeLinkDepends
this->CMakeInstance = this->GlobalGenerator->GetCMakeInstance();
// The configuration being linked.
- this->Config = config;
+ this->Config = (config && *config)? config : 0;
// Enable debug mode if requested.
this->DebugMode = this->Makefile->IsOn("CMAKE_LINK_DEPENDS_DEBUG_MODE");