From 0a208d5fb531f3543435eaeb5ebd72b10f0e116e Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 29 Jun 2004 16:40:13 -0400 Subject: ENH: remove QT_WRAP_UI flag --- Source/cmQTWrapUICommand.cxx | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'Source/cmQTWrapUICommand.cxx') diff --git a/Source/cmQTWrapUICommand.cxx b/Source/cmQTWrapUICommand.cxx index 8582248140..b742322742 100644 --- a/Source/cmQTWrapUICommand.cxx +++ b/Source/cmQTWrapUICommand.cxx @@ -27,21 +27,6 @@ bool cmQTWrapUICommand::InitialPass(std::vector const& argsIn) std::vector args; m_Makefile->ExpandSourceListArguments(argsIn, args, 3); - // Now check and see if the value has been stored in the cache - // already, if so use that value and don't look for the program - const char* QT_WRAP_UI_value = m_Makefile->GetDefinition("QT_WRAP_UI"); - if (QT_WRAP_UI_value==0) - { - this->SetError("called with QT_WRAP_UI undefined"); - return false; - } - - if(cmSystemTools::IsOff(QT_WRAP_UI_value)) - { - this->SetError("called with QT_WRAP_UI off : "); - return false; - } - // what is the current source dir std::string cdir = m_Makefile->GetCurrentDirectory(); -- cgit v1.2.1