View Single Post
Old 10-30-2012, 11:31 PM   #59
snarkophilus
Wannabe Connoisseur
snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.
 
Posts: 426
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
Quote:
Originally Posted by pdurrant View Post
Unfortunately, I've had a quick look, and I don't see how to do it. Getting the 10.5 to compile was relatively simple. Getting a fat binary out of it seems more complex.
Let me start by saying I've never used cmake ...

Can you try adding the red text in src/Sigil/CMakeLists.txt:

Code:
# For Mac, add frameworks and make a DMG
if( APPLE )
    set (CMAKE_OSX_ARCHITECTURES "i386;x86_64" )
    if(CMAKE_GENERATOR STREQUAL Xcode)
        set( WORK_DIR "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Release" )
    else()
        set( WORK_DIR "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}" )
    endif()
or (trying to do the same thing from the command line) using
-DCMAKE_OSX_ARCHITECTURES="i386;x86_64"
as an argument to cmake?

This is all thanks to Mr Google, and completely untested .

Cheers,
Simon.
snarkophilus is offline   Reply With Quote