share/CMakeLists.txt
changeset 15312 5b2dec63f4cf
parent 10069 c4ad9c76b542
equal deleted inserted replaced
15311:e1d11d8dafdd 15312:5b2dec63f4cf
     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"