[CMake] Universal Binary Support on OS X 10.4

Mike Jackson imikejackson at gmail.com
Thu Nov 1 10:35:24 EDT 2007


I am on a MacBook Pro and need to compile for PPC. I launch ccmake  
and set CMAKE_OSX_ARCHITECTURES to ppc. I then generate and then run  
make VERBOSE=1. What gets produced is still an i386 binary though.

    If I manually put in -arch ppc into both the c and c++ compile  
flags then I get a ppc build. Is this the way it is supposed to work  
or am I missing something.

--
Mike Jackson
imikejackson & gmail * com





More information about the CMake mailing list