fix: man(1) install directory unter OpenBSD

pull/115/head
Rafael Sadowski 2016-10-09 11:00:12 +02:00
parent 32f62c0850
commit 150a817628
1 changed files with 6 additions and 1 deletions

View File

@ -26,4 +26,9 @@ set_target_properties( grive_executable
)
install(TARGETS grive_executable RUNTIME DESTINATION bin)
install(FILES doc/grive.1 DESTINATION share/man/man1 )
if ( ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD" )
install(FILES doc/grive.1 DESTINATION man/man1 )
else ( ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD" )
install(FILES doc/grive.1 DESTINATION share/man/man1 )
endif( ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD" )