diff options
author | Brent Cook <bcook@openbsd.org> | 2017-07-09 05:06:06 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2017-07-09 05:06:06 -0500 |
commit | 0dbae37735a395e3c378ac944842e359f8087d41 (patch) | |
tree | 18aaf9fa1665455886fc171edbb8857ef5c35a21 /apps/ocspcheck | |
parent | c18852f650a3cb258e10222695a31ed5c929ab23 (diff) | |
parent | 0e82f22d16dc4c45bd45f9a994a30fc7435d430b (diff) | |
download | portable-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.txt | 7 |
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() | |||
36 | add_executable(ocspcheck ${OCSPCHECK_SRC}) | 36 | add_executable(ocspcheck ${OCSPCHECK_SRC}) |
37 | target_link_libraries(ocspcheck tls ${OPENSSL_LIBS}) | 37 | target_link_libraries(ocspcheck tls ${OPENSSL_LIBS}) |
38 | 38 | ||
39 | install(TARGETS ocspcheck DESTINATION ${CMAKE_INSTALL_BINDIR}) | 39 | if(ENABLE_LIBRESSL_INSTALL) |
40 | install(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 | |||
43 | endif(ENABLE_LIBRESSL_INSTALL) | ||
41 | 44 | ||
42 | endif() | 45 | endif() |