BUG: make sure SOURCE_FILES starts at the begining of line
This commit is contained in:
parent
6737f7277f
commit
0798a177ea
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue