(FreeBSD) Added the man page to the CPack configuration

This commit is contained in:
Leon Styhre 2024-08-19 17:18:21 +02:00
parent 330f36ee14
commit 3f5e277cd6

View file

@ -276,7 +276,7 @@ elseif(NOT ANDROID)
if(NOT HAIKU)
install(TARGETS es-pdf-convert RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
endif()
if(CMAKE_SYSTEM_NAME MATCHES Linux)
if(CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME MATCHES FreeBSD)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/es-de.6.gz
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man6)
else()