[Cmake-commits] [cmake-commits] hoffman committed cmLocalGenerator.cxx 1.312 1.313

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Sep 18 15:16:35 EDT 2009


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv17836

Modified Files:
	cmLocalGenerator.cxx 
Log Message:
Only do the OSX arch stuff on OSX.


Index: cmLocalGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalGenerator.cxx,v
retrieving revision 1.312
retrieving revision 1.313
diff -C 2 -d -r1.312 -r1.313
*** cmLocalGenerator.cxx	18 Sep 2009 18:22:20 -0000	1.312
--- cmLocalGenerator.cxx	18 Sep 2009 19:16:33 -0000	1.313
***************
*** 1749,1753 ****
    flagsVar += lang;
    flagsVar += "_FLAGS";
! 
    if(this->EmitUniversalBinaryFlags)
      {
--- 1749,1754 ----
    flagsVar += lang;
    flagsVar += "_FLAGS";
!   // Add special OSX flags
! #ifdef __APPLE__
    if(this->EmitUniversalBinaryFlags)
      {
***************
*** 1816,1820 ****
        }
      }
! 
    this->AddConfigVariableFlags(flags, flagsVar.c_str(), config);
  }
--- 1817,1821 ----
        }
      }
! #endif
    this->AddConfigVariableFlags(flags, flagsVar.c_str(), config);
  }



More information about the Cmake-commits mailing list