diff options
author | Brent Cook <bcook@openbsd.org> | 2017-07-06 23:58:40 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2017-07-06 23:58:40 -0500 |
commit | 334245374a084ba175225c209ac9e18af5a60150 (patch) | |
tree | 9d16bd6ef17ef8c5dd5ed2e44793447e769615f3 /apps/nc | |
parent | 52080abbf79a5037800e46639ade099e08027d0c (diff) | |
parent | a2bd5ebaba789822ae73e9059171c46ed6b8f574 (diff) | |
download | portable-334245374a084ba175225c209ac9e18af5a60150.tar.gz portable-334245374a084ba175225c209ac9e18af5a60150.tar.bz2 portable-334245374a084ba175225c209ac9e18af5a60150.zip |
Land #323, use GNUInstallDirs from cmake to specify install paths
Diffstat (limited to 'apps/nc')
-rw-r--r-- | apps/nc/CMakeLists.txt | 4 |
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}) | |||
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 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) |
58 | endif() | 58 | endif() |
59 | 59 | ||
60 | endif() | 60 | endif() |