summaryrefslogtreecommitdiffstats
path: root/Source/cmTryCompileCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmTryCompileCommand.cxx')
-rw-r--r--Source/cmTryCompileCommand.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx
index 1094664..e524b77 100644
--- a/Source/cmTryCompileCommand.cxx
+++ b/Source/cmTryCompileCommand.cxx
@@ -231,20 +231,6 @@ int cmTryCompileCommand::CoreTryCompileCode(
// actually do the try compile now that everything is setup
int res = mf->TryCompile(sourceDirectory, binaryDirectory,
projectName, targetName, &cmakeFlags, &output);
- // for the xcode generator
- if(strcmp(mf->GetCMakeInstance()->GetGlobalGenerator()->GetName() ,
- "Xcode") == 0)
- {
- int numTrys = 0;
- while(output.find("/bin/sh: bad interpreter: Text file busy")
- != output.npos && numTrys < 4)
- {
- output = "";
- res = mf->TryCompile(sourceDirectory, binaryDirectory,
- projectName, targetName, &cmakeFlags, &output);
- numTrys++;
- }
- }
if ( erroroc )
{
cmSystemTools::SetErrorOccured();