opnsense-ports/devel/cppcheck/files/patch-gui_CMakeLists.txt
Franco Fichtner cb07a35399 */*: sync with upstream
Taken from: HardenedBSD
2017-11-18 07:44:25 +01:00

11 lines
580 B
Text

--- gui/CMakeLists.txt.orig 2017-10-07 21:11:39 UTC
+++ gui/CMakeLists.txt
@@ -27,7 +27,7 @@ if (BUILD_GUI)
qt5_use_modules(cppcheck-gui ${GUI_QT_COMPONENTS})
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)