When configuring your build set *CMAKE_OSX_ARCHITECTURES * to both the
architectures you wish to build. For example 'i386;ppc'. This will produce
libraries/executables with both architectures embedded in them. You can
check this by just running the 'file' command on any of the
libraries/executables.

On Sun, Jun 20, 2010 at 10:08 AM, Nick Bolton <nick.bolton...@gmail.com>wrote:

> Hello,
>
> I would like to build a Mac OS X Universal dmg using cpack, but
> currently we're building an i386 - how might we build universal
> instead?
>
> Here's our CPack config:
>
> http://code.google.com/p/synergy-plus/source/browse/trunk/cmake/CMakeLists_cpack.txt
>
> Nick
> _______________________________________________
> 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
>
_______________________________________________
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