CMakeLists.txt: install the contrib directory
This commit is contained in:
parent
f4999a63a5
commit
456fab5b11
|
@ -68,6 +68,7 @@ add_threads (${PROJECT_NAME})
|
||||||
include (GNUInstallDirs)
|
include (GNUInstallDirs)
|
||||||
install (TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
|
install (TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||||
install (FILES LICENSE DESTINATION ${CMAKE_INSTALL_DOCDIR})
|
install (FILES LICENSE DESTINATION ${CMAKE_INSTALL_DOCDIR})
|
||||||
|
install (DIRECTORY contrib DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME})
|
||||||
|
|
||||||
# Generate documentation from program help
|
# Generate documentation from program help
|
||||||
find_program (HELP2MAN_EXECUTABLE help2man)
|
find_program (HELP2MAN_EXECUTABLE help2man)
|
||||||
|
|
Loading…
Reference in New Issue