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/nc | |
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/nc')
-rw-r--r-- | apps/nc/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/nc/CMakeLists.txt b/apps/nc/CMakeLists.txt index be38146..64d14fa 100644 --- a/apps/nc/CMakeLists.txt +++ b/apps/nc/CMakeLists.txt | |||
@@ -53,8 +53,10 @@ add_executable(nc ${NC_SRC}) | |||
53 | target_link_libraries(nc tls ${OPENSSL_LIBS}) | 53 | target_link_libraries(nc tls ${OPENSSL_LIBS}) |
54 | 54 | ||
55 | if(ENABLE_NC) | 55 | if(ENABLE_NC) |
56 | install(TARGETS nc DESTINATION ${CMAKE_INSTALL_BINDIR}) | 56 | if(ENABLE_LIBRESSL_INSTALL) |
57 | install(FILES nc.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) | 57 | install(TARGETS nc DESTINATION ${CMAKE_INSTALL_BINDIR}) |
58 | install(FILES nc.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) | ||
59 | endif(ENABLE_LIBRESSL_INSTALL) | ||
58 | endif() | 60 | endif() |
59 | 61 | ||
60 | endif() | 62 | endif() |