aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/CMakeLists.txt
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-02-21 17:23:10 +0200
committerRiccardo Spagni <ric@spagni.net>2017-02-21 17:23:10 +0200
commit2bdad8d69575ae4fc6ac465d141929f57f05a6c2 (patch)
tree76aa78789bb66d7c40eab0282f171fbd56220022 /external/unbound/CMakeLists.txt
parentMerge pull request #1759 (diff)
parentadd openssl to readme (diff)
downloadmonero-2bdad8d69575ae4fc6ac465d141929f57f05a6c2.tar.xz
Merge pull request #1760
efdd783c add openssl to readme (Riccardo Spagni) 058eed36 cmakify openssl (Riccardo Spagni)
Diffstat (limited to 'external/unbound/CMakeLists.txt')
-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)