QTfrontend/CMakeLists.txt
changeset 10384 fcf70b65667d
parent 10383 ffebf1c98ee4
child 10385 15eda15df81c
equal deleted inserted replaced
10383:ffebf1c98ee4 10384:fcf70b65667d
    12 
    12 
    13 find_package(Qt4 REQUIRED)
    13 find_package(Qt4 REQUIRED)
    14 include(${QT_USE_FILE})
    14 include(${QT_USE_FILE})
    15 
    15 
    16 if(APPLE AND
    16 if(APPLE AND
    17    ${QTVERSION} VERSION_EQUAL "4.7.4")
    17    ${QTVERSION} VERSION_GREATER "4.7.0" AND
       
    18    ${QTVERSION} VERSION_LESS "4.7.4")
    18    message(FATAL_ERROR "This version of Qt is known *not* to work, please update or use a lower version")
    19    message(FATAL_ERROR "This version of Qt is known *not* to work, please update or use a lower version")
    19 endif()
    20 endif()
    20 
    21 
    21 find_package(SDL1or2)            #video in SDLInteraction
    22 find_package(SDL1or2)            #video in SDLInteraction
    22 find_package(SDL_mixer REQUIRED) #audio in SDLInteraction
    23 find_package(SDL_mixer REQUIRED) #audio in SDLInteraction