aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authord3x0r <d3x0r@users.noreply.github.com>2017-07-06 01:49:43 -0700
committerd3x0r <d3x0r@users.noreply.github.com>2017-07-06 01:49:43 -0700
commita2bd5ebaba789822ae73e9059171c46ed6b8f574 (patch)
treea201fa8fa7a16438b7967121724c1f0367a8d6e2 /apps
parent728bda183018cbc9736f03d4f21d2b4a2585e83d (diff)
downloadportable-a2bd5ebaba789822ae73e9059171c46ed6b8f574.tar.gz
portable-a2bd5ebaba789822ae73e9059171c46ed6b8f574.tar.bz2
portable-a2bd5ebaba789822ae73e9059171c46ed6b8f574.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')
-rw-r--r--apps/nc/CMakeLists.txt4
-rw-r--r--apps/ocspcheck/CMakeLists.txt4
-rw-r--r--apps/openssl/CMakeLists.txt4
3 files changed, 6 insertions, 6 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()
diff --git a/apps/ocspcheck/CMakeLists.txt b/apps/ocspcheck/CMakeLists.txt
index a14485e..478f232 100644
--- a/apps/ocspcheck/CMakeLists.txt
+++ b/apps/ocspcheck/CMakeLists.txt
@@ -36,7 +36,7 @@ endif()
36add_executable(ocspcheck ${OCSPCHECK_SRC}) 36add_executable(ocspcheck ${OCSPCHECK_SRC})
37target_link_libraries(ocspcheck tls ${OPENSSL_LIBS}) 37target_link_libraries(ocspcheck tls ${OPENSSL_LIBS})
38 38
39install(TARGETS ocspcheck DESTINATION bin) 39install(TARGETS ocspcheck DESTINATION ${CMAKE_INSTALL_BINDIR})
40install(FILES ocspcheck.8 DESTINATION share/man/man8) 40install(FILES ocspcheck.8 DESTINATION ${CMAKE_INSTALL_MANDIR}/man8)
41 41
42endif() 42endif()
diff --git a/apps/openssl/CMakeLists.txt b/apps/openssl/CMakeLists.txt
index 9512065..2e47840 100644
--- a/apps/openssl/CMakeLists.txt
+++ b/apps/openssl/CMakeLists.txt
@@ -76,8 +76,8 @@ endif()
76add_executable(openssl ${OPENSSL_SRC}) 76add_executable(openssl ${OPENSSL_SRC})
77target_link_libraries(openssl ${OPENSSL_LIBS}) 77target_link_libraries(openssl ${OPENSSL_LIBS})
78 78
79install(TARGETS openssl DESTINATION bin) 79install(TARGETS openssl DESTINATION ${CMAKE_INSTALL_BINDIR})
80install(FILES openssl.1 DESTINATION share/man/man1) 80install(FILES openssl.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
81 81
82if(NOT "${OPENSSLDIR}" STREQUAL "") 82if(NOT "${OPENSSLDIR}" STREQUAL "")
83 set(CONF_DIR "${OPENSSLDIR}") 83 set(CONF_DIR "${OPENSSLDIR}")