From 875e72b39aed3ba9e91078657e2623dd9422cf91 Mon Sep 17 00:00:00 2001 From: Susi Lehtola Date: Sat, 2 Jun 2018 16:50:58 +0200 Subject: [PATCH] Update findDependencies --- cppcheck-1.83-cmake.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/cppcheck-1.83-cmake.patch b/cppcheck-1.83-cmake.patch index 780942f..04fc91c 100644 --- a/cppcheck-1.83-cmake.patch +++ b/cppcheck-1.83-cmake.patch @@ -1,3 +1,17 @@ +diff -up cppcheck-1.83/cmake/findDependencies.cmake.qt5cmake cppcheck-1.83/cmake/findDependencies.cmake +--- cppcheck-1.83/cmake/findDependencies.cmake.qt5cmake 2018-04-02 09:02:50.000000000 +0200 ++++ cppcheck-1.83/cmake/findDependencies.cmake 2018-06-02 16:50:28.656036644 +0200 +@@ -1,6 +1,8 @@ + if (BUILD_GUI) +- set(GUI_QT_COMPONENTS Core Gui Widgets PrintSupport) +- find_package(Qt5 COMPONENTS ${GUI_QT_COMPONENTS}) ++ find_package(Qt5Core) ++ find_package(Qt5Gui) ++ find_package(Qt5Widgets) ++ find_package(Qt5PrintSupport) + find_package(Qt5LinguistTools) + endif() + diff -up cppcheck-1.83/CMakeLists.txt.qt5cmake cppcheck-1.83/CMakeLists.txt --- cppcheck-1.83/CMakeLists.txt.qt5cmake 2018-06-02 16:47:11.038242820 +0200 +++ cppcheck-1.83/CMakeLists.txt 2018-06-02 16:47:11.070242301 +0200