Browse Source

BUG: fix ITK build with xcode, as long as you build it in little parts, this fixes the headermap problem

Bill Hoffman 20 years ago
parent
commit
047047924d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/cmGlobalXCodeGenerator.cxx

+ 2 - 0
Source/cmGlobalXCodeGenerator.cxx

@@ -947,6 +947,8 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
                               this->CreateString(""));
                               this->CreateString(""));
   buildSettings->AddAttribute("SECTORDER_FLAGS",
   buildSettings->AddAttribute("SECTORDER_FLAGS",
                               this->CreateString(""));
                               this->CreateString(""));
+  buildSettings->AddAttribute("USE_HEADERMAP",
+                              this->CreateString("NO"));
   buildSettings->AddAttribute("WARNING_CFLAGS",
   buildSettings->AddAttribute("WARNING_CFLAGS",
                               this->CreateString(
                               this->CreateString(
                                 "-Wmost -Wno-four-char-constants"
                                 "-Wmost -Wno-four-char-constants"