diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e26e47..4b34765 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -39,7 +39,7 @@ option(ENABLE_ASM "Enable assembly" ON) | |||
39 | option(ENABLE_EXTRATESTS "Enable extra tests that may be unreliable on some platforms" OFF) | 39 | option(ENABLE_EXTRATESTS "Enable extra tests that may be unreliable on some platforms" OFF) |
40 | option(ENABLE_NC "Enable installing TLS-enabled nc(1)" OFF) | 40 | option(ENABLE_NC "Enable installing TLS-enabled nc(1)" OFF) |
41 | set(OPENSSLDIR ${OPENSSLDIR} CACHE PATH "Set the default openssl directory" FORCE) | 41 | set(OPENSSLDIR ${OPENSSLDIR} CACHE PATH "Set the default openssl directory" FORCE) |
42 | set(LIBRESSL_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/cmake" CACHE STRING "Installation directory for the CMake targets") | 42 | set(LIBRESSL_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/cmake/LibreSSL" CACHE STRING "Installation directory for the CMake targets") |
43 | 43 | ||
44 | option(USE_STATIC_MSVC_RUNTIMES "Use /MT instead of /MD in MSVC" OFF) | 44 | option(USE_STATIC_MSVC_RUNTIMES "Use /MT instead of /MD in MSVC" OFF) |
45 | if(USE_STATIC_MSVC_RUNTIMES) | 45 | if(USE_STATIC_MSVC_RUNTIMES) |
@@ -463,12 +463,12 @@ if(ENABLE_LIBRESSL_INSTALL) | |||
463 | "${CMAKE_CURRENT_LIST_DIR}/LibreSSLConfig.cmake.in" | 463 | "${CMAKE_CURRENT_LIST_DIR}/LibreSSLConfig.cmake.in" |
464 | "${CMAKE_CURRENT_BINARY_DIR}/install-config/LibreSSLConfig.cmake" | 464 | "${CMAKE_CURRENT_BINARY_DIR}/install-config/LibreSSLConfig.cmake" |
465 | PATH_VARS INCLUDE_DIRECTORY | 465 | PATH_VARS INCLUDE_DIRECTORY |
466 | INSTALL_DESTINATION "${LIBRESSL_INSTALL_CMAKEDIR}/LibreSSL" | 466 | INSTALL_DESTINATION "${LIBRESSL_INSTALL_CMAKEDIR}" |
467 | ) | 467 | ) |
468 | install(FILES | 468 | install(FILES |
469 | "${CMAKE_BINARY_DIR}/install-config/LibreSSLConfig.cmake" | 469 | "${CMAKE_BINARY_DIR}/install-config/LibreSSLConfig.cmake" |
470 | "${CMAKE_BINARY_DIR}/LibreSSLConfigVersion.cmake" | 470 | "${CMAKE_BINARY_DIR}/LibreSSLConfigVersion.cmake" |
471 | DESTINATION "${LIBRESSL_INSTALL_CMAKEDIR}/LibreSSL" | 471 | DESTINATION "${LIBRESSL_INSTALL_CMAKEDIR}" |
472 | ) | 472 | ) |
473 | endif() | 473 | endif() |
474 | 474 | ||