aboutsummaryrefslogtreecommitdiff
path: root/crypto
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 /crypto
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 'crypto')
-rw-r--r--crypto/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index f8c5684..eca9d1c 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -829,9 +829,9 @@ if (BUILD_SHARED)
829 ARCHIVE_OUTPUT_NAME crypto${CRYPTO_POSTFIX}) 829 ARCHIVE_OUTPUT_NAME crypto${CRYPTO_POSTFIX})
830 set_target_properties(crypto-shared PROPERTIES VERSION 830 set_target_properties(crypto-shared PROPERTIES VERSION
831 ${CRYPTO_VERSION} SOVERSION ${CRYPTO_MAJOR_VERSION}) 831 ${CRYPTO_VERSION} SOVERSION ${CRYPTO_MAJOR_VERSION})
832 install(TARGETS crypto crypto-shared DESTINATION lib) 832 install(TARGETS crypto crypto-shared DESTINATION ${CMAKE_INSTALL_LIBDIR})
833else() 833else()
834 add_library(crypto STATIC ${CRYPTO_SRC}) 834 add_library(crypto STATIC ${CRYPTO_SRC})
835 install(TARGETS crypto DESTINATION lib) 835 install(TARGETS crypto DESTINATION ${CMAKE_INSTALL_LIBDIR})
836endif() 836endif()
837 837