Index: head/devel/cppcheck/files/patch-CMakeLists.txt =================================================================== --- head/devel/cppcheck/files/patch-CMakeLists.txt (revision 472784) +++ head/devel/cppcheck/files/patch-CMakeLists.txt (revision 472785) @@ -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) Index: head/devel/cppcheck/files/patch-gui_CMakeLists.txt =================================================================== --- head/devel/cppcheck/files/patch-gui_CMakeLists.txt (revision 472784) +++ head/devel/cppcheck/files/patch-gui_CMakeLists.txt (revision 472785) @@ -1,11 +1,11 @@ ---- 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) + install(FILES ${qms} DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/${PROJECT_NAME}/lang COMPONENT applications) install(FILES cppcheck-gui.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications)