summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 4f620a9..d927b3b 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -43,6 +43,11 @@ cmLocalGenerator::~cmLocalGenerator()
void cmLocalGenerator::Configure()
{
+ // make sure the CMakeFiles dir is there
+ std::string filesDir = m_Makefile->GetStartOutputDirectory();
+ filesDir += "/CMakeFiles";
+ cmSystemTools::MakeDirectory(filesDir.c_str());
+
// find & read the list file
std::string currentStart = m_Makefile->GetStartDirectory();
currentStart += "/CMakeLists.txt";