ENH: put the project command at the front of the project

This commit is contained in:
Bill Hoffman 2002-12-02 16:08:13 -05:00
parent 9e526f797a
commit 332fb964e7
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ bool cmListFileCache::CacheFile(const char* path, bool requireProjectCommand)
cmListFileFunction project;
project.m_Name = "PROJECT";
project.m_Arguments.push_back("Project");
inFile.m_Functions.push_back(project);
inFile.m_Functions.insert(inFile.m_Functions.begin(),project);
}
}
m_ListFileCache[path] = inFile;