aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-08-16 12:48:06 -0700
committerAlexander Blair <snipa@jagtech.io>2020-08-16 12:48:07 -0700
commit79e93a8af8626156a1686140cb3f0f2758fa5ae6 (patch)
tree0fa74c0c87b06c4c4030c682798a2c57fce75eb5 /CMakeLists.txt
parentMerge pull request #6689 (diff)
parentcmake: allow custom openssl path on macOS (diff)
downloadmonero-79e93a8af8626156a1686140cb3f0f2758fa5ae6.tar.xz
Merge pull request #6691
6111689cf cmake: allow custom openssl path on macOS (selsta)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 51e497260..2a16e0081 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -432,7 +432,7 @@ endif ()
if (APPLE AND NOT IOS)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=x86-64 -fvisibility=default -std=c++11")
- if (NOT OpenSSL_DIR)
+ if (NOT OPENSSL_ROOT_DIR)
EXECUTE_PROCESS(COMMAND brew --prefix openssl
OUTPUT_VARIABLE OPENSSL_ROOT_DIR
OUTPUT_STRIP_TRAILING_WHITESPACE)