share/CMakeLists.txt
changeset 8650 18807b6302c8
parent 8649 e3a9339ce1fd
child 8662 bfcc09f2accc
--- a/share/CMakeLists.txt	Mon Mar 04 22:58:01 2013 +0100
+++ b/share/CMakeLists.txt	Mon Mar 04 23:11:28 2013 +0100
@@ -4,13 +4,8 @@
 add_subdirectory(hedgewars/Data)
 
 if(APPLE)
-    #needed for CFBundleVersion and CFBundleShortVersionString
-        #should reuse the variables set in main CMakeLists.txt
-    if(HGCOMMAND AND (EXISTS ${CMAKE_SOURCE_DIR}/.hg))
-        set(HEDGEWARS_REVISION ${revision_number})
-    else()
-        set(HEDGEWARS_REVISION ${HEDGEWARS_VERSION})
-    endif()
+    #CFBundleVersion is HEDGEWARS_REVISION
+    #CFBundleShortVersionString is HEDGEWARS_VERSION
 
     #silly libav that always brings in VideoDecoderAcceleration, avaible only from 10.6.3
     if(NOT NOVIDEOREC)