CMakeLists.txt: install the contrib directory

This commit is contained in:
Přemysl Eric Janouch 2020-11-05 01:44:53 +01:00
parent f4999a63a5
commit 456fab5b11
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -68,6 +68,7 @@ add_threads (${PROJECT_NAME})
include (GNUInstallDirs)
install (TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
install (FILES LICENSE DESTINATION ${CMAKE_INSTALL_DOCDIR})
install (DIRECTORY contrib DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME})
# Generate documentation from program help
find_program (HELP2MAN_EXECUTABLE help2man)