From 332fb964e7fee02fc7f9dc5cb8aa13069aaad38b Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 2 Dec 2002 16:08:13 -0500 Subject: ENH: put the project command at the front of the project --- Source/cmListFileCache.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx index b20f4b4..0893cf6 100644 --- a/Source/cmListFileCache.cxx +++ b/Source/cmListFileCache.cxx @@ -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; -- cgit v0.12