QTfrontend/CMakeLists.txt
changeset 10383 ffebf1c98ee4
parent 10173 fff5e4b0dfcb
child 10384 fcf70b65667d
equal deleted inserted replaced
10382:a5752075f897 10383:ffebf1c98ee4
    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_GREATER "4.7.0" AND
    17    ${QTVERSION} VERSION_EQUAL "4.7.4")
    18    ${QTVERSION} VERSION_LESS "4.7.4")
       
    19    message(FATAL_ERROR "This version of Qt is known *not* to work, please update or use a lower version")
    18    message(FATAL_ERROR "This version of Qt is known *not* to work, please update or use a lower version")
    20 endif()
    19 endif()
    21 
    20 
    22 find_package(SDL1or2)            #video in SDLInteraction
    21 find_package(SDL1or2)            #video in SDLInteraction
    23 find_package(SDL_mixer REQUIRED) #audio in SDLInteraction
    22 find_package(SDL_mixer REQUIRED) #audio in SDLInteraction