use GNUInstallDirs from cmake to specify install paths.

Primarily this is to select whether 'lib64' or 'lib' is used on linux type systems.
This commit is contained in:
d3x0r
2017-07-06 01:49:43 -07:00
parent 728bda1830
commit a2bd5ebaba
9 changed files with 16 additions and 15 deletions

View File

@@ -36,7 +36,7 @@ endif()
add_executable(ocspcheck ${OCSPCHECK_SRC})
target_link_libraries(ocspcheck tls ${OPENSSL_LIBS})
install(TARGETS ocspcheck DESTINATION bin)
install(FILES ocspcheck.8 DESTINATION share/man/man8)
install(TARGETS ocspcheck DESTINATION ${CMAKE_INSTALL_BINDIR})
install(FILES ocspcheck.8 DESTINATION ${CMAKE_INSTALL_MANDIR}/man8)
endif()