aboutsummaryrefslogtreecommitdiff
path: root/apps/nc
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/nc
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/nc')
-rw-r--r--apps/nc/CMakeLists.txt6
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})
53target_link_libraries(nc tls ${OPENSSL_LIBS}) 53target_link_libraries(nc tls ${OPENSSL_LIBS})
54 54
55if(ENABLE_NC) 55if(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)
58endif() 60endif()
59 61
60endif() 62endif()