diff options
author | Brad King <brad.king@kitware.com> | 2008-08-27 14:21:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-08-27 14:21:41 (GMT) |
commit | 32fe1d5b0d79ba4298c95e14f2815e61a05a0e38 (patch) | |
tree | 1bd166053cf59c520dda617e706a727bcb296dfc /Source/cmComputeLinkDepends.cxx | |
parent | 1dfc557322b1193d0589a77f4af4dc48b75b13bd (diff) | |
download | CMake-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.
Diffstat (limited to 'Source/cmComputeLinkDepends.cxx')
-rw-r--r-- | Source/cmComputeLinkDepends.cxx | 2 |
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"); |