100-disable_qt_tests.patch 1007 B

1234567891011121314151617181920212223242526272829303132
  1. --- a/Tests/RunCMake/CMakeLists.txt
  2. +++ b/Tests/RunCMake/CMakeLists.txt
  3. @@ -101,16 +101,6 @@
  4. add_RunCMake_test(TargetPolicies)
  5. add_RunCMake_test(alias_targets)
  6. -find_package(Qt4 QUIET)
  7. -find_package(Qt5Core QUIET)
  8. -if (QT4_FOUND AND Qt5Core_FOUND AND NOT Qt5Core_VERSION VERSION_LESS 5.1.0)
  9. - add_RunCMake_test(IncompatibleQt)
  10. -endif()
  11. -if (QT4_FOUND)
  12. - set(ObsoleteQtMacros_ARGS -DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE})
  13. - add_RunCMake_test(ObsoleteQtMacros)
  14. -endif()
  15. -
  16. if("${CMAKE_TEST_GENERATOR}" MATCHES "Visual Studio [^6]")
  17. add_RunCMake_test(include_external_msproject)
  18. add_RunCMake_test(SolutionGlobalSections)
  19. --- a/Tests/CMakeLists.txt
  20. +++ b/Tests/CMakeLists.txt
  21. @@ -262,10 +262,6 @@
  22. list(APPEND TEST_BUILD_DIRS ${CMake_TEST_INSTALL_PREFIX})
  23. - if(NOT QT4_FOUND)
  24. - find_package(Qt4)
  25. - endif()
  26. -
  27. if(QT4_FOUND)
  28. # test whether the Qt4 which has been found works, on some machines
  29. # which run nightly builds there were errors like "wrong file format"