summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index f3e777e..760fe36 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -256,7 +256,9 @@ void cmMakefile::ExecuteCommand(std::string &name,
}
else
{
- cmSystemTools::Error("unknown CMake command ", name.c_str());
+ cmSystemTools::Error("unknown CMake command:", name.c_str(),
+ "\nReading cmake file in directory:" ,
+ m_cmCurrentDirectory.c_str());
}
}