aboutsummaryrefslogtreecommitdiff
path: root/apps/ocspcheck
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2017-07-09 05:06:06 -0500
committerBrent Cook <bcook@openbsd.org>2017-07-09 05:06:06 -0500
commit0dbae37735a395e3c378ac944842e359f8087d41 (patch)
tree18aaf9fa1665455886fc171edbb8857ef5c35a21 /apps/ocspcheck
parentc18852f650a3cb258e10222695a31ed5c929ab23 (diff)
parent0e82f22d16dc4c45bd45f9a994a30fc7435d430b (diff)
downloadportable-0dbae37735a395e3c378ac944842e359f8087d41.tar.gz
portable-0dbae37735a395e3c378ac944842e359f8087d41.tar.bz2
portable-0dbae37735a395e3c378ac944842e359f8087d41.zip
Land #324, Add option LIBRESSL_SKIP_INSTALL
Diffstat (limited to 'apps/ocspcheck')
-rw-r--r--apps/ocspcheck/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/ocspcheck/CMakeLists.txt b/apps/ocspcheck/CMakeLists.txt
index 478f232..af245f4 100644
--- a/apps/ocspcheck/CMakeLists.txt
+++ b/apps/ocspcheck/CMakeLists.txt
@@ -36,7 +36,10 @@ endif()
36add_executable(ocspcheck ${OCSPCHECK_SRC}) 36add_executable(ocspcheck ${OCSPCHECK_SRC})
37target_link_libraries(ocspcheck tls ${OPENSSL_LIBS}) 37target_link_libraries(ocspcheck tls ${OPENSSL_LIBS})
38 38
39install(TARGETS ocspcheck DESTINATION ${CMAKE_INSTALL_BINDIR}) 39if(ENABLE_LIBRESSL_INSTALL)
40install(FILES ocspcheck.8 DESTINATION ${CMAKE_INSTALL_MANDIR}/man8) 40 install(TARGETS ocspcheck DESTINATION ${CMAKE_INSTALL_BINDIR})
41 install(FILES ocspcheck.8 DESTINATION ${CMAKE_INSTALL_MANDIR}/man8)
42
43endif(ENABLE_LIBRESSL_INSTALL)
41 44
42endif() 45endif()