Browse Source

ENH: undo bad changes

Bill Hoffman 19 years ago
parent
commit
052cb7753b
1 changed files with 0 additions and 4 deletions
  1. 0 4
      Source/cmGlobalXCodeGenerator.cxx

+ 0 - 4
Source/cmGlobalXCodeGenerator.cxx

@@ -866,10 +866,6 @@ std::string cmGlobalXCodeGenerator::ExtractFlag(const char* flag,
   std::string::size_type pos = flags.find(flag);
   if(pos != flags.npos)
     {
-    if(flags[pos + strlen(flag)] != ' ')
-      {
-      return flags;
-      }
     retFlag = flag;
     // remove the flag
     flags[pos]=' ';