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

Fix build.

kishorencdf32c32497a6
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bceefe8d..1d585a1a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -138,8 +138,8 @@ if (APPLE)
"-Wl,-U,_MallocExtension_ReleaseFreeMemory" "-Wl,-U,_ProfilerStart" "-Wl,-U,_ProfilerStop")
else()
set(STD_LIB -static-libgcc -static-libstdc++)
- list(APPEND ROCKSDB_LIBS rt)
list(APPEND STACKTRACE_LIBS dw elf)
+ list(APPEND SYSTEM_LIBS rt)
endif()
set(ICU_ALL_LIBRARIES ${ICU_I18N_LIBRARIES} ${ICU_LIBRARIES} ${ICU_DATA_LIBRARIES})
diff --git a/cmake/h3.cmake b/cmake/h3.cmake
index 6490a6a9..0dc5bf6e 100644
--- a/cmake/h3.cmake
+++ b/cmake/h3.cmake
@@ -16,6 +16,8 @@ endif()
if(NOT EXISTS ${DEP_ROOT_DIR}/${H3_NAME}/build/lib/libh3.a)
message("Configuring ${H3_NAME}...")
+
+ file(REMOVE_RECURSE ${DEP_ROOT_DIR}/${H3_NAME}/build)
file(MAKE_DIRECTORY ${DEP_ROOT_DIR}/${H3_NAME}/build)
execute_process(COMMAND ${CMAKE_COMMAND}
@@ -32,6 +34,7 @@ if(NOT EXISTS ${DEP_ROOT_DIR}/${H3_NAME}/build/lib/libh3.a)
message("Building ${H3_NAME} locally...")
execute_process(COMMAND ${CMAKE_COMMAND} --build
"${DEP_ROOT_DIR}/${H3_NAME}/build"
+ --target h3
RESULT_VARIABLE
H3_BUILD)
if(NOT H3_BUILD EQUAL 0)