2013-09-07 18:33:07 +00:00
|
|
|
--- a/Tests/RunCMake/CMakeLists.txt
|
|
|
|
+++ b/Tests/RunCMake/CMakeLists.txt
|
2015-10-31 09:31:06 +00:00
|
|
|
@@ -160,15 +160,6 @@
|
|
|
|
add_RunCMake_test(no_install_prefix)
|
|
|
|
add_RunCMake_test(configure_file)
|
2013-09-07 18:33:07 +00:00
|
|
|
|
|
|
|
-find_package(Qt4 QUIET)
|
|
|
|
-find_package(Qt5Core QUIET)
|
|
|
|
-if (QT4_FOUND AND Qt5Core_FOUND AND NOT Qt5Core_VERSION VERSION_LESS 5.1.0)
|
|
|
|
- add_RunCMake_test(IncompatibleQt)
|
|
|
|
-endif()
|
2013-10-18 23:38:26 +00:00
|
|
|
-if (QT4_FOUND)
|
2015-10-31 09:31:06 +00:00
|
|
|
- add_RunCMake_test(ObsoleteQtMacros -DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE})
|
2013-10-18 23:38:26 +00:00
|
|
|
-endif()
|
2013-09-07 18:33:07 +00:00
|
|
|
-
|
2015-10-31 09:31:06 +00:00
|
|
|
find_package(PkgConfig QUIET)
|
|
|
|
if(PKG_CONFIG_FOUND)
|
|
|
|
add_RunCMake_test(FindPkgConfig)
|
2013-09-07 18:33:07 +00:00
|
|
|
--- a/Tests/CMakeLists.txt
|
|
|
|
+++ b/Tests/CMakeLists.txt
|
2015-10-31 09:31:06 +00:00
|
|
|
@@ -358,10 +358,6 @@
|
2013-09-07 18:33:07 +00:00
|
|
|
|
|
|
|
list(APPEND TEST_BUILD_DIRS ${CMake_TEST_INSTALL_PREFIX})
|
|
|
|
|
|
|
|
- if(NOT QT4_FOUND)
|
2015-10-31 09:31:06 +00:00
|
|
|
- find_package(Qt4 QUIET)
|
2013-09-07 18:33:07 +00:00
|
|
|
- endif()
|
|
|
|
-
|
|
|
|
if(QT4_FOUND)
|
|
|
|
# test whether the Qt4 which has been found works, on some machines
|
|
|
|
# which run nightly builds there were errors like "wrong file format"
|