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:
parent
1dfc557322
commit
32fe1d5b0d
@ -171,7 +171,7 @@ cmComputeLinkDepends
|
|||||||
this->CMakeInstance = this->GlobalGenerator->GetCMakeInstance();
|
this->CMakeInstance = this->GlobalGenerator->GetCMakeInstance();
|
||||||
|
|
||||||
// The configuration being linked.
|
// The configuration being linked.
|
||||||
this->Config = config;
|
this->Config = (config && *config)? config : 0;
|
||||||
|
|
||||||
// Enable debug mode if requested.
|
// Enable debug mode if requested.
|
||||||
this->DebugMode = this->Makefile->IsOn("CMAKE_LINK_DEPENDS_DEBUG_MODE");
|
this->DebugMode = this->Makefile->IsOn("CMAKE_LINK_DEPENDS_DEBUG_MODE");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user