From 3d63c85f75209d605273c03227c4e0bc7f5d0303 Mon Sep 17 00:00:00 2001
From: Ken Martin <ken.martin@kitware.com>
Date: Wed, 23 Jan 2008 12:51:24 -0500
Subject: ENH: look for CTestConfiguration.ini first

---
 Source/cmCTest.cxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 97132ae..c6b71b6 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -521,10 +521,10 @@ bool cmCTest::UpdateCTestConfiguration()
   std::string fileName = this->CTestConfigFile;
   if ( fileName.empty() )
     {
-    fileName = this->BinaryDir + "/DartConfiguration.tcl";
+    fileName = this->BinaryDir + "/CTestConfiguration.ini";
     if ( !cmSystemTools::FileExists(fileName.c_str()) )
       {
-      fileName = this->BinaryDir + "/CTestConfiguration.ini";
+      fileName = this->BinaryDir + "/DartConfiguration.tcl";
       }
     }
   cmCTestLog(this, HANDLER_VERBOSE_OUTPUT, "UpdateCTestConfiguration  from :"
-- 
cgit v0.12