mirror of
https://git.familie-radermacher.ch/linux/ptouch-print.git
synced 2025-12-17 21:35:21 +01:00
better gettext support (thanks to Michael Schulz)
This commit is contained in:
parent
1f450d9124
commit
efa48162a8
5 changed files with 89 additions and 8 deletions
|
|
@ -37,7 +37,6 @@ target_link_libraries(${PROJECT_NAME} PRIVATE
|
|||
|
||||
target_sources(${PROJECT_NAME} PRIVATE
|
||||
include/ptouch.h
|
||||
include/gettext.h
|
||||
src/libptouch.c
|
||||
src/ptouch-print.c
|
||||
)
|
||||
|
|
@ -66,6 +65,8 @@ add_custom_target(git-version ALL
|
|||
${CMAKE_COMMAND} -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/gitversion.cmake
|
||||
)
|
||||
|
||||
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/gettext.cmake)
|
||||
|
||||
install(TARGETS ${PROJECT_NAME} DESTINATION bin)
|
||||
|
||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/ptouch-print.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue