fixed bugs in hikrobot, add install for all libraries

This commit is contained in:
2022-12-22 11:55:30 +03:00
parent 5033b9b096
commit e9a22b0b14
7 changed files with 119 additions and 44 deletions

View File

@@ -100,8 +100,8 @@ include_directories(${${PROJ}_INCLUDE_DIRS} .)
link_directories(${${PROJ}_LIBRARY_DIRS} )
# Installation of the program
INSTALL(FILES ${MO_FILE} DESTINATION "share/locale/ru/LC_MESSAGES")
INSTALL(TARGETS ${PROJ} DESTINATION "bin")
install(FILES ${MO_FILE} DESTINATION "share/locale/ru/LC_MESSAGES")
install(TARGETS ${PROJ} DESTINATION "bin")
find_package(Gettext REQUIRED)
find_program(GETTEXT_XGETTEXT_EXECUTABLE xgettext)