[CMake] i386 compiling on OSX Snow Leopard
Dan Gregory
gigs94 at gmail.com
Tue Apr 27 10:50:11 EDT 2010
I have been trying to compile the google gears library on snow leopard
and have run into some issues. Based on other emails from this list and
the bug report http://www.itk.org/Bug/view.php?id=9466 I thought that
this line should force 32bit compiling, but it doesn't seem to work.
set(CMAKE_OSX_ARCHITECTURES i386 CACHE STRING "do not build for 64-bit" FORCE)
set(ARCH i386)
This does not pass "-arch i386" to the gcc options.
$ cmake --version
cmake version 2.6-patch 4
The bug has been closed for awhile so I assume that I have just done
something wrong... can anyone push me in the right direction?
Thanks,
Dan
More information about the CMake
mailing list