An update will be applied December 9th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit 0798a177 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

BUG: make sure SOURCE_FILES starts at the begining of line

parent 6737f727
...@@ -42,7 +42,8 @@ bool cmMakefile::ReadMakefile(const char* filename) ...@@ -42,7 +42,8 @@ bool cmMakefile::ReadMakefile(const char* filename)
{ {
std::string line = inbuffer; std::string line = inbuffer;
cmClassFile file; cmClassFile file;
if(line.find("SOURCE_FILES") != std::string::npos) std::string::size_type pos = line.find("SOURCE_FILES");
if((pos != std::string::npos) && (pos == 0 ) )
{ {
if(line.find("\\") != std::string::npos) if(line.find("\\") != std::string::npos)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment