Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Set OPENSSL_ROOT_DIR as environment var.

Kishore Nallan022549400128
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6ad07e3b..4db5fd82 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,7 +12,7 @@ endif()
if (APPLE)
add_definitions(-DGTEST_USE_OWN_TR1_TUPLE)
add_definitions(-D__GLIBCXX__)
- set(OPENSSL_ROOT_DIR /usr/local/opt/openssl) # For Brew
+ set(ENV{OPENSSL_ROOT_DIR} /usr/local/opt/openssl) # For Brew
endif (APPLE)
FIND_PACKAGE(OpenSSL REQUIRED)