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.
This commit is contained in:
Brad King 2008-08-27 10:21:41 -04:00
parent 1dfc557322
commit 32fe1d5b0d
1 changed files with 1 additions and 1 deletions

View File

@ -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");