aboutsummaryrefslogtreecommitdiff
path: root/apps/nc/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'apps/nc/CMakeLists.txt')
-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()