1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-23 02:52:58 +01:00

cmake: cleanup openssl

This commit is contained in:
selsta 2021-05-09 10:18:36 +02:00
parent 3f48e3ef1c
commit bd9a2d7bbb
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E
2 changed files with 0 additions and 10 deletions

View File

@ -109,15 +109,6 @@ monero_gui_add_library(gui_version SOURCES version.js DEPENDS genversiongui)
message(STATUS "${CMAKE_MODULE_PATH}") message(STATUS "${CMAKE_MODULE_PATH}")
# OpenSSL
if(APPLE AND NOT OPENSSL_ROOT_DIR)
execute_process(COMMAND brew --prefix openssl OUTPUT_VARIABLE OPENSSL_ROOT_DIR OUTPUT_STRIP_TRAILING_WHITESPACE)
endif()
find_package(OpenSSL REQUIRED)
message(STATUS "OpenSSL: Version ${OPENSSL_VERSION}")
message(STATUS "OpenSSL: include dir at ${OPENSSL_INCLUDE_DIR}")
message(STATUS "OpenSSL: libraries at ${OPENSSL_LIBRARIES} ${OPENSSL_SSL_LIBRARIES}")
if(WITH_SCANNER) if(WITH_SCANNER)
add_definitions(-DWITH_SCANNER) add_definitions(-DWITH_SCANNER)
endif() endif()

View File

@ -102,7 +102,6 @@ target_include_directories(monero-wallet-gui PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/QR-Code-scanner ${CMAKE_CURRENT_SOURCE_DIR}/QR-Code-scanner
${CMAKE_CURRENT_SOURCE_DIR}/zxcvbn-c ${CMAKE_CURRENT_SOURCE_DIR}/zxcvbn-c
${X11_INCLUDE_DIR} ${X11_INCLUDE_DIR}
${OPENSSL_INCLUDE_DIR}
) )
target_compile_definitions(monero-wallet-gui target_compile_definitions(monero-wallet-gui