[CMake] CPack - Mac OS X Universal dmg
Nick Bolton
nick.bolton.uk at gmail.com
Mon Jun 21 02:13:07 EDT 2010
Dave,
On 20 June 2010 18:02, Dave Partyka <dave.partyka at kitware.com> wrote:
> 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.
Thanks, the change worked like a charm:
http://code.google.com/p/synergy-plus/source/detail?r=649
Here's the new output:
home-ws-5:release-1.3.6 nick$ file bin/synergyc
bin/synergyc: Mach-O universal binary with 2 architectures
bin/synergyc (for architecture ppc7400): Mach-O executable ppc
bin/synergyc (for architecture i386): Mach-O executable i386
Nick
More information about the CMake
mailing list