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                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to