equal
deleted
inserted
replaced
4 add_subdirectory(hedgewars/Data) |
4 add_subdirectory(hedgewars/Data) |
5 |
5 |
6 if(APPLE) |
6 if(APPLE) |
7 #CFBundleVersion is HEDGEWARS_REVISION |
7 #CFBundleVersion is HEDGEWARS_REVISION |
8 #CFBundleShortVersionString is HEDGEWARS_VERSION |
8 #CFBundleShortVersionString is HEDGEWARS_VERSION |
9 |
|
10 #libav/ffmpeg always brings in VideoDecoderAcceleration, avaible only from 10.6.3 |
|
11 if(LIBAV_FOUND AND ${minimum_macosx_version} VERSION_EQUAL "10.6") |
|
12 set(minimum_macosx_version "10.6.3") |
|
13 endif() |
|
14 |
9 |
15 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in |
10 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in |
16 ${CMAKE_CURRENT_BINARY_DIR}/Info.plist) |
11 ${CMAKE_CURRENT_BINARY_DIR}/Info.plist) |
17 #path here should be Hedgewars.app/Contents/MacOS |
12 #path here should be Hedgewars.app/Contents/MacOS |
18 install(PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/Info.plist" |
13 install(PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/Info.plist" |