BUG: An empty configuration name is equivalent to no configuration.

This commit is contained in:
Brad King 2007-05-17 11:18:23 -04:00
parent c25d2bfdd2
commit 51fe906ab7

View File

@ -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.