From b3d5e0fa2dfd1a721ba26b212782ababe41b799a Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 27 Nov 2006 12:11:27 -0500 Subject: [PATCH] ENH: fix crash in plplot build --- Source/cmTarget.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 0033d16c1..338e88c5b 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()) {