diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-10-31 09:31:06 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-10-31 09:31:06 +0000 |
commit | 35cc181eb2b0e6ecf20412e3d117b1fcec96628b (patch) | |
tree | d59ed221eada35dbd1a491ff239994c3d1d29e2e /tools/cmake/patches/100-disable_qt_tests.patch | |
parent | faabe8e8e60f6100bf7611800676973928e8cced (diff) | |
download | mtk-20170518-35cc181eb2b0e6ecf20412e3d117b1fcec96628b.zip mtk-20170518-35cc181eb2b0e6ecf20412e3d117b1fcec96628b.tar.gz mtk-20170518-35cc181eb2b0e6ecf20412e3d117b1fcec96628b.tar.bz2 |
tools/cmake: update to 3.3.2
Update cmake to 3.3.2 and refresh patches.
Add a secondary download location.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 47327
Diffstat (limited to 'tools/cmake/patches/100-disable_qt_tests.patch')
-rw-r--r-- | tools/cmake/patches/100-disable_qt_tests.patch | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/tools/cmake/patches/100-disable_qt_tests.patch b/tools/cmake/patches/100-disable_qt_tests.patch index 3d44dac..deaa5ae 100644 --- a/tools/cmake/patches/100-disable_qt_tests.patch +++ b/tools/cmake/patches/100-disable_qt_tests.patch @@ -1,8 +1,8 @@ --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt -@@ -101,16 +101,6 @@ - add_RunCMake_test(TargetPolicies) - add_RunCMake_test(alias_targets) +@@ -160,15 +160,6 @@ + add_RunCMake_test(no_install_prefix) + add_RunCMake_test(configure_file) -find_package(Qt4 QUIET) -find_package(Qt5Core QUIET) @@ -10,21 +10,20 @@ - add_RunCMake_test(IncompatibleQt) -endif() -if (QT4_FOUND) -- set(ObsoleteQtMacros_ARGS -DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE}) -- add_RunCMake_test(ObsoleteQtMacros) +- add_RunCMake_test(ObsoleteQtMacros -DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE}) -endif() - - if("${CMAKE_TEST_GENERATOR}" MATCHES "Visual Studio [^6]") - add_RunCMake_test(include_external_msproject) - add_RunCMake_test(SolutionGlobalSections) + find_package(PkgConfig QUIET) + if(PKG_CONFIG_FOUND) + add_RunCMake_test(FindPkgConfig) --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt -@@ -262,10 +262,6 @@ +@@ -358,10 +358,6 @@ list(APPEND TEST_BUILD_DIRS ${CMake_TEST_INSTALL_PREFIX}) - if(NOT QT4_FOUND) -- find_package(Qt4) +- find_package(Qt4 QUIET) - endif() - if(QT4_FOUND) |