equal
deleted
inserted
replaced
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 |
9 |
10 #silly libav that always brings in VideoDecoderAcceleration, avaible only from 10.6.3 |
10 #libav/ffmpeg always brings in VideoDecoderAcceleration, avaible only from 10.6.3 |
11 if(NOT NOVIDEOREC) |
11 if(${FFMPEG_FOUND} AND ${minimum_macosx_version} VERSION_EQUAL "10.6") |
12 find_package(FFMPEG) |
12 set(minimum_macosx_version "10.6.3") |
13 if(${FFMPEG_FOUND} AND ${minimum_macosx_version} VERSION_EQUAL "10.6") |
|
14 set(minimum_macosx_version "10.6.3") |
|
15 endif() |
|
16 endif() |
13 endif() |
17 |
14 |
18 configure_file(${hedgewars_SOURCE_DIR}/share/Info.plist.in |
15 configure_file(${hedgewars_SOURCE_DIR}/share/Info.plist.in |
19 ${CMAKE_CURRENT_BINARY_DIR}/Info.plist) |
16 ${CMAKE_CURRENT_BINARY_DIR}/Info.plist) |
20 #path here should be Hedgewars.app/Contents/MacOS |
17 #path here should be Hedgewars.app/Contents/MacOS |