aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-02-21 17:11:12 +0200
committerRiccardo Spagni <ric@spagni.net>2017-02-21 17:11:12 +0200
commit058eed369ba328dce34e9c1593a9ddbfaceea2af (patch)
treea803fd203f2e99406f6c03aefd0da2030bce3cec /external
parentMerge pull request #1754 (diff)
downloadmonero-058eed369ba328dce34e9c1593a9ddbfaceea2af.tar.xz
cmakify openssl
Diffstat (limited to 'external')
-rw-r--r--external/unbound/CMakeLists.txt16
1 files changed, 0 insertions, 16 deletions
diff --git a/external/unbound/CMakeLists.txt b/external/unbound/CMakeLists.txt
index c1e2d6887..cb1c09448 100644
--- a/external/unbound/CMakeLists.txt
+++ b/external/unbound/CMakeLists.txt
@@ -30,22 +30,6 @@ cmake_minimum_required(VERSION 2.8.7)
project(unbound C)
-if (APPLE)
- if (NOT OpenSSL_DIR)
- EXECUTE_PROCESS(COMMAND brew --prefix openssl
- OUTPUT_VARIABLE OPENSSL_ROOT_DIR
- OUTPUT_STRIP_TRAILING_WHITESPACE)
- message(STATUS "Using OpenSSL found at ${OPENSSL_ROOT_DIR}")
- endif()
-endif()
-
-find_package(OpenSSL REQUIRED)
-if(STATIC)
- if(UNIX)
- set(OPENSSL_LIBRARIES "${OPENSSL_LIBRARIES};${CMAKE_DL_LIBS}")
- endif()
-endif()
-
find_package(Threads)
include(configure_checks.cmake)