From 8be12bb34f3aa77a86e1067958d676b4e5243d06 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Fri, 28 Feb 2003 13:00:36 -0500 Subject: [PATCH] Ifdef code that is missing --- Source/cmCTest.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 2cd3072d9..629e9d871 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -481,6 +481,7 @@ int cmCTest::UpdateDirectory() } std::string extra_update_opts; +#ifdef HAVE_CURL if ( m_TestModel == cmCTest::NIGHTLY ) { struct tm* t = ::GetNightlyTime(m_DartConfiguration["NightlyStartTime"]); @@ -493,6 +494,7 @@ int cmCTest::UpdateDirectory() extra_update_opts += "-D \"" + today_update_date +"\""; //std::cout << "Update: " << extra_update_opts << std::endl; } +#endif std::string command = cvsCommand + " -z3 update " + cvsOptions + " " + extra_update_opts;