From 51fe906ab7c6fe19e18801bffba745472b1e729d Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 17 May 2007 11:18:23 -0400 Subject: BUG: An empty configuration name is equivalent to no configuration. --- Source/cmTarget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 3e196f5..5d59755 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -1222,7 +1222,7 @@ void cmTarget::SetProperty(const char* prop, const char* value) const char* cmTarget::GetDirectory(const char* config, bool implib) { - if(config) + if(config && *config) { this->Directory = this->GetOutputDir(implib); // Add the configuration's subdirectory. -- cgit v0.12