summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-11-27 17:11:27 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-11-27 17:11:27 (GMT)
commitb3d5e0fa2dfd1a721ba26b212782ababe41b799a (patch)
tree7d4f7d69d9cfc9f920c5704a34aae15662c48b04
parent19892abbc5c7cb32cab0f08bac3cccf1be0f8a30 (diff)
downloadCMake-b3d5e0fa2dfd1a721ba26b212782ababe41b799a.zip
CMake-b3d5e0fa2dfd1a721ba26b212782ababe41b799a.tar.gz
CMake-b3d5e0fa2dfd1a721ba26b212782ababe41b799a.tar.bz2
ENH: fix crash in plplot build
-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())
{