ports/devel/cppcheck/files/patch-gui_CMakeLists.txt
Dmitry Marakasov c9bbe54ef5 - Update to 1.79
- Fix segfault due to conflict between bundled and system tinyxml [1]
- Switch to cmake build, simplifying the port
- Enable GUI

PR:		217881 [1], 218876 [1]
2017-05-31 20:07:15 +00:00

11 lines
526 B
Text

--- gui/CMakeLists.txt.orig 2017-05-13 09:27:11 UTC
+++ gui/CMakeLists.txt
@@ -29,7 +29,7 @@ if (BUILD_GUI)
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)