[CMake] i386 compiling on OSX Snow Leopard
Sean McBride
sean at rogue-research.com
Tue Apr 27 10:59:29 EDT 2010
On Tue, 27 Apr 2010 10:50:11 -0400, Dan Gregory said:
>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?
Use CMake 2.8.1.
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the CMake
mailing list