Commit 332fb964 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

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

parent 9e526f79
......@@ -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;
......
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