summaryrefslogtreecommitdiffstats
path: root/Source/cmQTWrapUICommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-06-29 20:40:13 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-06-29 20:40:13 (GMT)
commit0a208d5fb531f3543435eaeb5ebd72b10f0e116e (patch)
tree429859a00e9e14fb69762707564fc84a6da93ad2 /Source/cmQTWrapUICommand.cxx
parent32381805d3c6765014973421feecafdf179a0dcf (diff)
downloadCMake-0a208d5fb531f3543435eaeb5ebd72b10f0e116e.zip
CMake-0a208d5fb531f3543435eaeb5ebd72b10f0e116e.tar.gz
CMake-0a208d5fb531f3543435eaeb5ebd72b10f0e116e.tar.bz2
ENH: remove QT_WRAP_UI flag
Diffstat (limited to 'Source/cmQTWrapUICommand.cxx')
-rw-r--r--Source/cmQTWrapUICommand.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/Source/cmQTWrapUICommand.cxx b/Source/cmQTWrapUICommand.cxx
index 8582248..b742322 100644
--- a/Source/cmQTWrapUICommand.cxx
+++ b/Source/cmQTWrapUICommand.cxx
@@ -27,21 +27,6 @@ bool cmQTWrapUICommand::InitialPass(std::vector<std::string> const& argsIn)
std::vector<std::string> 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();