summaryrefslogtreecommitdiff
path: root/devel/cppcheck/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cppcheck/files')
-rw-r--r--devel/cppcheck/files/patch-CMakeLists.txt4
-rw-r--r--devel/cppcheck/files/patch-gui_CMakeLists.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/devel/cppcheck/files/patch-CMakeLists.txt b/devel/cppcheck/files/patch-CMakeLists.txt
index 61e1bc259341..36b0eed24a47 100644
--- a/devel/cppcheck/files/patch-CMakeLists.txt
+++ b/devel/cppcheck/files/patch-CMakeLists.txt
@@ -1,8 +1,8 @@
---- CMakeLists.txt.orig 2017-10-07 21:11:39 UTC
+--- CMakeLists.txt.orig 2018-06-10 20:41:03 UTC
+++ CMakeLists.txt
@@ -1,4 +1,4 @@
-project(CppCheck)
+project(cppcheck)
- cmake_minimum_required(VERSION 2.8.4)
+ cmake_minimum_required(VERSION 2.8.11)
include(GNUInstallDirs)
diff --git a/devel/cppcheck/files/patch-gui_CMakeLists.txt b/devel/cppcheck/files/patch-gui_CMakeLists.txt
index 045a0c7646ad..c992c1078fc6 100644
--- a/devel/cppcheck/files/patch-gui_CMakeLists.txt
+++ b/devel/cppcheck/files/patch-gui_CMakeLists.txt
@@ -1,7 +1,7 @@
---- gui/CMakeLists.txt.orig 2017-10-07 21:11:39 UTC
+--- gui/CMakeLists.txt.orig 2018-06-10 20:41:03 UTC
+++ gui/CMakeLists.txt
@@ -27,7 +27,7 @@ if (BUILD_GUI)
- qt5_use_modules(cppcheck-gui ${GUI_QT_COMPONENTS})
+ target_link_libraries(cppcheck-gui Qt5::Core Qt5::Gui Qt5::Widgets Qt5::PrintSupport)
install(TARGETS cppcheck-gui RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications)
- install(FILES ${qms} DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications)