summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-05-17 15:18:23 (GMT)
committerBrad King <brad.king@kitware.com>2007-05-17 15:18:23 (GMT)
commit51fe906ab7c6fe19e18801bffba745472b1e729d (patch)
tree1b31532e6e107e04f1ef14de9c9c463bd5638693 /Source
parentc25d2bfdd2c81076bf637ae1b2aee711d9e6424d (diff)
downloadCMake-51fe906ab7c6fe19e18801bffba745472b1e729d.zip
CMake-51fe906ab7c6fe19e18801bffba745472b1e729d.tar.gz
CMake-51fe906ab7c6fe19e18801bffba745472b1e729d.tar.bz2
BUG: An empty configuration name is equivalent to no configuration.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTarget.cxx2
1 files changed, 1 insertions, 1 deletions
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.