Created
May 11, 2012 22:52
-
-
Save aseques/2662935 to your computer and use it in GitHub Desktop.
Marble compilation on x86_64
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/CMakeLists.txt 2012-05-12 15:05:14.000000000 +0200 | |
| +++ b/CMakeLists.txt 2012-05-12 15:05:21.000000000 +0200 | |
| @@ -155,8 +155,9 @@ | |
| SET( MACOSX_BUNDLE_VERSION 0.3.0 ) | |
| SET( MACOSX_BUNDLE_LONG_VERSION_STRING Version 0.3.0 ) | |
| SET( MACOSX_BUNDLE_BUNDLE_NAME Marble) | |
| - #SET( CMAKE_OSX_ARCHITECTURES ppc;i386 ) #Comment out if not universal binary | |
| - SET( CMAKE_OSX_ARCHITECTURES i386 ) #Comment out if universal binary | |
| + if (MACOSX_UNIVERSAL) | |
| + SET( CMAKE_OSX_ARCHITECTURES ppc;i386 ) #Comment out if not universal binary | |
| + endif(MACOSX_UNIVERSAL) | |
| #SET (lib_dir ${CMAKE_INSTALL_PREFIX}/Marble.app/Contents/MacOS/lib) | |
| SET (data_dir ${CMAKE_INSTALL_PREFIX}/Marble.app/Contents/MacOS/resources/data) | |
| SET (plugin_dir ${CMAKE_INSTALL_PREFIX}/Marble.app/Contents/MacOS/resources/plugins) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment