From bd9a2d7bbb66c59fe45a5160e8d7208ad819c1fd Mon Sep 17 00:00:00 2001 From: selsta Date: Sun, 9 May 2021 10:18:36 +0200 Subject: [PATCH] cmake: cleanup openssl --- CMakeLists.txt | 9 --------- src/CMakeLists.txt | 1 - 2 files changed, 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b099ccd..93782659 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -109,15 +109,6 @@ monero_gui_add_library(gui_version SOURCES version.js DEPENDS genversiongui) 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) add_definitions(-DWITH_SCANNER) endif() diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6c2b56b8..27b4dd09 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -102,7 +102,6 @@ target_include_directories(monero-wallet-gui PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/QR-Code-scanner ${CMAKE_CURRENT_SOURCE_DIR}/zxcvbn-c ${X11_INCLUDE_DIR} - ${OPENSSL_INCLUDE_DIR} ) target_compile_definitions(monero-wallet-gui