aboutsummaryrefslogtreecommitdiff
path: root/apps/nc
diff options
context:
space:
mode:
authord3x0r <d3x0r@users.noreply.github.com>2017-07-06 01:49:43 -0700
committerBrent Cook <bcook@openbsd.org>2017-07-07 00:10:15 -0500
commitde9ea11a07f23809c102c7a2e0378d71f8713c16 (patch)
treec291010c226e8f389f3d95c9b8f303c9a9aa33be /apps/nc
parent3cf0bc1226d2f7c14c7fa82ee8fd1626963bac10 (diff)
downloadportable-de9ea11a07f23809c102c7a2e0378d71f8713c16.tar.gz
portable-de9ea11a07f23809c102c7a2e0378d71f8713c16.tar.bz2
portable-de9ea11a07f23809c102c7a2e0378d71f8713c16.zip
use GNUInstallDirs from cmake to specify install paths.
Primarily this is to select whether 'lib64' or 'lib' is used on linux type systems.
Diffstat (limited to 'apps/nc')
-rw-r--r--apps/nc/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/nc/CMakeLists.txt b/apps/nc/CMakeLists.txt
index c8757a6..be38146 100644
--- a/apps/nc/CMakeLists.txt
+++ b/apps/nc/CMakeLists.txt
@@ -53,8 +53,8 @@ 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 bin) 56 install(TARGETS nc DESTINATION ${CMAKE_INSTALL_BINDIR})
57 install(FILES nc.1 DESTINATION share/man/man1) 57 install(FILES nc.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
58endif() 58endif()
59 59
60endif() 60endif()