diff options
author | d3x0r <d3x0r@users.noreply.github.com> | 2017-07-06 01:49:43 -0700 |
---|---|---|
committer | d3x0r <d3x0r@users.noreply.github.com> | 2017-07-06 01:49:43 -0700 |
commit | a2bd5ebaba789822ae73e9059171c46ed6b8f574 (patch) | |
tree | a201fa8fa7a16438b7967121724c1f0367a8d6e2 /apps/openssl | |
parent | 728bda183018cbc9736f03d4f21d2b4a2585e83d (diff) | |
download | portable-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/openssl')
-rw-r--r-- | apps/openssl/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
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() | |||
76 | add_executable(openssl ${OPENSSL_SRC}) | 76 | add_executable(openssl ${OPENSSL_SRC}) |
77 | target_link_libraries(openssl ${OPENSSL_LIBS}) | 77 | target_link_libraries(openssl ${OPENSSL_LIBS}) |
78 | 78 | ||
79 | install(TARGETS openssl DESTINATION bin) | 79 | install(TARGETS openssl DESTINATION ${CMAKE_INSTALL_BINDIR}) |
80 | install(FILES openssl.1 DESTINATION share/man/man1) | 80 | install(FILES openssl.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) |
81 | 81 | ||
82 | if(NOT "${OPENSSLDIR}" STREQUAL "") | 82 | if(NOT "${OPENSSLDIR}" STREQUAL "") |
83 | set(CONF_DIR "${OPENSSLDIR}") | 83 | set(CONF_DIR "${OPENSSLDIR}") |