[Tux4kids-commits] r484 - tuxmath/trunk
tholy-guest at alioth.debian.org
tholy-guest at alioth.debian.org
Wed May 7 14:32:16 UTC 2008
Author: tholy-guest
Date: 2008-05-07 14:32:15 +0000 (Wed, 07 May 2008)
New Revision: 484
Modified:
tuxmath/trunk/CMakeLists.txt
Log:
Try to get the icon file & version info set correctly under MacOSX.
Modified: tuxmath/trunk/CMakeLists.txt
===================================================================
--- tuxmath/trunk/CMakeLists.txt 2008-05-07 14:18:22 UTC (rev 483)
+++ tuxmath/trunk/CMakeLists.txt 2008-05-07 14:32:15 UTC (rev 484)
@@ -42,14 +42,16 @@
## Set up OS-specific path & build information
if (APPLE)
set(TUXMATH_MACOSX_BUNDLE_NAME tuxmath)
+ set(MACOSX_BUNDLE_BUNDLE_VERSION ${TUXMATH_VERSION})
+ set(MACOSX_BUNDLE_SHORT_VERSION_STRING ${TUXMATH_VERSION})
+ set(MACOSX_BUNDLE_LONG_VERSION_STRING ${TUXMATH_VERSION})
+ set(MACOSX_BUNDLE_ICON_FILE tuxmath.icns)
set(TUXMATH_DATA_PREFIX ${TUXMATH_MACOSX_BUNDLE_NAME}.app/Contents/Resources)
set(LOCALE_DIR ${TUXMATH_MACOSX_BUNDLE_NAME}.app/Contents/Resources/locale)
# OS X SDL Framework does not have a pre-built libSDLmain, so we
# instead include SDLmain.m as a source file
set (TUXMATH_EXTRA_INCLUDE ${TuxMath_SOURCE_DIR}/macosx)
set (TUXMATH_EXTRA_SRC ${TuxMath_SOURCE_DIR}/macosx/SDLMain.m)
- # Set some variables
- set(MACOSX_BUNDLE_BUNDLE_VERSION ${TUXMATH_VERSION})
elseif (UNIX)
# A non-apple Unix (Linux, Solaris, etc.)
# This is where one would test for installed/relocatable, if that
More information about the Tux4kids-commits
mailing list