diff options
Diffstat (limited to 'apps/nc/CMakeLists.txt')
-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() |