summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmTarget.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 0033d16..338e88c 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -887,7 +887,8 @@ const char* cmTarget::GetDirectory(const char* config)
this->Makefile->GetSafeDefinition("EXECUTABLE_OUTPUT_PATH");
break;
default:
- return 0;
+ this->Directory = this->Makefile->GetStartOutputDirectory();
+ break;
}
if(this->Directory.empty())
{