QTfrontend/CMakeLists.txt
branchwebgl
changeset 9521 8054d9d775fd
parent 9270 a9b9ebd3d3be
parent 9519 b8b5c82eb61b
child 9950 2759212a27de
equal deleted inserted replaced
9282:92af50454cf2 9521:8054d9d775fd
    10 set(QT_USE_QTOPENGL FALSE)
    10 set(QT_USE_QTOPENGL FALSE)
    11 set(QT_USE_QTMAIN TRUE)
    11 set(QT_USE_QTMAIN TRUE)
    12 
    12 
    13 find_package(Qt4 REQUIRED)
    13 find_package(Qt4 REQUIRED)
    14 include(${QT_USE_FILE})
    14 include(${QT_USE_FILE})
       
    15 
       
    16 if(APPLE AND
       
    17    ${QTVERSION} VERSION_GREATER "4.7.0" AND
       
    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")
       
    20 endif()
    15 
    21 
    16 find_package(SDL REQUIRED)       #video in SDLInteraction
    22 find_package(SDL REQUIRED)       #video in SDLInteraction
    17 find_package(SDL_mixer REQUIRED) #audio in SDLInteraction
    23 find_package(SDL_mixer REQUIRED) #audio in SDLInteraction
    18 
    24 
    19 if(${FFMPEG_FOUND})
    25 if(${FFMPEG_FOUND})