mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 12:04:25 +02:00
Merge pull request #1436 from daleglass/require-openssl1.1
Require OpenSSL 1.1.0 in CMake.
This commit is contained in:
commit
a95b4f48cc
3 changed files with 4 additions and 4 deletions
|
@ -12,7 +12,7 @@ macro(TARGET_OPENSSL)
|
|||
set(OPENSSL_LIBRARIES "${OPENSSL_INSTALL_DIR}/lib/libcrypto.a;${OPENSSL_INSTALL_DIR}/lib/libssl.a" CACHE STRING INTERNAL)
|
||||
else()
|
||||
# using VCPKG for OpenSSL
|
||||
find_package(OpenSSL REQUIRED)
|
||||
find_package(OpenSSL 1.1.0 REQUIRED)
|
||||
endif()
|
||||
|
||||
include_directories(SYSTEM "${OPENSSL_INCLUDE_DIR}")
|
||||
|
|
|
@ -8,7 +8,7 @@ link_hifi_libraries(embedded-webserver networking shared)
|
|||
package_libraries_for_deployment()
|
||||
|
||||
# find OpenSSL
|
||||
find_package(OpenSSL REQUIRED)
|
||||
find_package(OpenSSL 1.1.0 REQUIRED)
|
||||
|
||||
if (APPLE AND ${OPENSSL_INCLUDE_DIR} STREQUAL "/usr/include")
|
||||
# this is a user on OS X using system OpenSSL, which is going to throw warnings since they're deprecating for their common crypto
|
||||
|
|
|
@ -69,7 +69,7 @@ if (WIN32)
|
|||
set(OPENSSL_ROOT_DIR ${SSL_DIR})
|
||||
message("SSL dir is ${SSL_DIR}")
|
||||
set(OPENSSL_USE_STATIC_LIBS TRUE)
|
||||
find_package(OpenSSL REQUIRED)
|
||||
find_package(OpenSSL 1.1.0 REQUIRED)
|
||||
|
||||
message("-- Found OpenSSL Libs ${OPENSSL_LIBRARIES}")
|
||||
|
||||
|
@ -105,7 +105,7 @@ endif()
|
|||
|
||||
if (APPLE)
|
||||
set(OPENSSL_USE_STATIC_LIBS TRUE)
|
||||
find_package(OpenSSL REQUIRED)
|
||||
find_package(OpenSSL 1.1.0 REQUIRED)
|
||||
endif()
|
||||
|
||||
find_package(Qt5 COMPONENTS Core Gui Qml Quick QuickControls2 Network REQUIRED)
|
||||
|
|
Loading…
Reference in a new issue