diff options
author | Brad King <brad.king@kitware.com> | 2007-05-17 15:18:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-05-17 15:18:23 (GMT) |
commit | 51fe906ab7c6fe19e18801bffba745472b1e729d (patch) | |
tree | 1b31532e6e107e04f1ef14de9c9c463bd5638693 /Source | |
parent | c25d2bfdd2c81076bf637ae1b2aee711d9e6424d (diff) | |
download | CMake-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.cxx | 2 |
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. |