From 32fe1d5b0d79ba4298c95e14f2815e61a05a0e38 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 27 Aug 2008 10:21:41 -0400 Subject: 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. --- Source/cmComputeLinkDepends.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v0.12