mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07:00
CMakeLists.txt - Add openssl include dir
This commit is contained in:
parent
5ea20d6944
commit
eec1013785
@ -337,6 +337,8 @@ if (APPLE AND NOT IOS)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(OpenSSL REQUIRED)
|
find_package(OpenSSL REQUIRED)
|
||||||
|
message(STATUS "Using OpenSSL include dir at ${OPENSSL_INCLUDE_DIR}")
|
||||||
|
include_directories(${OPENSSL_INCLUDE_DIR})
|
||||||
if(STATIC AND NOT IOS)
|
if(STATIC AND NOT IOS)
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
set(OPENSSL_LIBRARIES "${OPENSSL_LIBRARIES};${CMAKE_DL_LIBS};${CMAKE_THREAD_LIBS_INIT}")
|
set(OPENSSL_LIBRARIES "${OPENSSL_LIBRARIES};${CMAKE_DL_LIBS};${CMAKE_THREAD_LIBS_INIT}")
|
||||||
|
Loading…
Reference in New Issue
Block a user