diff options
author | Brad King <brad.king@kitware.com> | 2008-04-07 17:39:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-04-07 17:39:13 (GMT) |
commit | 1829bed8b5dd4c1d3b622a14160d3a6706bcc16e (patch) | |
tree | 4facf9909369e1ccb4aa854f5a611ec82eaf6906 /Source/cmMakefileExecutableTargetGenerator.cxx | |
parent | fcd09ca90ff052fbb560d8b1eff3e465066bb13b (diff) | |
download | CMake-1829bed8b5dd4c1d3b622a14160d3a6706bcc16e.zip CMake-1829bed8b5dd4c1d3b622a14160d3a6706bcc16e.tar.gz CMake-1829bed8b5dd4c1d3b622a14160d3a6706bcc16e.tar.bz2 |
BUG: Do not create target output directory in cmTarget. Let the generators do it.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileExecutableTargetGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx index 1715fe9..29be46c 100644 --- a/Source/cmMakefileExecutableTargetGenerator.cxx +++ b/Source/cmMakefileExecutableTargetGenerator.cxx @@ -147,9 +147,11 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink) } else { + cmSystemTools::MakeDirectory(outpath.c_str()); if(!targetNameImport.empty()) { outpathImp = this->Target->GetDirectory(0, true); + cmSystemTools::MakeDirectory(outpathImp.c_str()); outpathImp += "/"; } } |