Ticket #23478: patch-cmake-list.diff

File patch-cmake-list.diff, 688 bytes (added by jp@…, 15 years ago)

patch to allow version of QT >=4.5

  • CMakeLists.txt

    old new  
    2828
    2929include(UseQt4)
    3030
    31 if( NOT ${QT_VERSION_MAJOR} EQUAL 4 OR NOT ${QT_VERSION_MINOR} EQUAL 5   )
     31if( NOT ${QT_VERSION_MAJOR} EQUAL 4 OR NOT ${QT_VERSION_MINOR} GREATER 4   )
    3232        MESSAGE (FATAL_ERROR
    33                         "Qt version 4.5 required.\n"
     33                        "Qt version >= 4.5 required.\n"
    3434                        "Qt version installed is: ${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}\n"
    3535                        "Please install required version.\n"
    3636                )
    37 endif( NOT ${QT_VERSION_MAJOR} EQUAL 4 OR NOT ${QT_VERSION_MINOR} EQUAL 5   )
     37endif( NOT ${QT_VERSION_MAJOR} EQUAL 4 OR NOT ${QT_VERSION_MINOR} GREATER 4   )
    3838
    3939
    4040