--- CMakeLists.txt.orig	2026-07-01 03:24:20 UTC
+++ CMakeLists.txt
@@ -442,36 +442,39 @@ include_directories(third_party/antlr4_runtime/src)
 
 include_directories(third_party/antlr4_cypher/include)
 include_directories(third_party/antlr4_runtime/src)
-include_directories(third_party/brotli/c/include)
+#include_directories(third_party/brotli/c/include)
 include_directories(third_party/fast_float/include)
 include_directories(third_party/mbedtls/include)
 include_directories(third_party/parquet)
 include_directories(third_party/snappy)
 include_directories(third_party/thrift)
 include_directories(third_party/miniz)
-include_directories(third_party/yyjson/src)
-include_directories(third_party/pybind11/include)
+#include_directories(third_party/yyjson/src)
+#include_directories(third_party/pybind11/include)
 include_directories(third_party/pyparse)
 include_directories(third_party/re2/include)
 include_directories(third_party/alp/include)
-if (${BUILD_TESTS} OR ${BUILD_EXTENSION_TESTS})
-    include_directories(third_party/spdlog)
-elseif (${BUILD_BENCHMARK})
-    include_directories(third_party/spdlog)
-endif ()
+#if (${BUILD_TESTS} OR ${BUILD_EXTENSION_TESTS})
+#    include_directories(third_party/spdlog)
+#elseif (${BUILD_BENCHMARK})
+#    include_directories(third_party/spdlog)
+#endif ()
 include_directories(third_party/utf8proc/include)
-include_directories(third_party/zstd/include)
+#include_directories(third_party/zstd/include)
 include_directories(third_party/httplib)
 include_directories(third_party/pcg)
-include_directories(third_party/lz4)
+#include_directories(third_party/lz4)
 include_directories(third_party/roaring_bitmap)
 include_directories(SYSTEM third_party/simsimd/include)
 
+include_directories($ENV{LOCALBASE}/include)
+link_directories($ENV{LOCALBASE}/lib)
+
 add_subdirectory(third_party)
 
 add_library(lbug_link_deps INTERFACE)
-set(LBUG_STATIC_ARCHIVE_LIBRARIES antlr4_cypher antlr4_runtime brotlidec brotlicommon utf8proc re2 fastpfor parquet snappy thrift yyjson zstd miniz mbedtls lz4 roaring_bitmap simsimd)
-set(LBUG_LINK_LIBRARIES ${LBUG_STATIC_ARCHIVE_LIBRARIES} fast_float)
+set(LBUG_STATIC_ARCHIVE_LIBRARIES antlr4_cypher antlr4_runtime utf8proc re2 fastpfor parquet snappy thrift miniz mbedtls roaring_bitmap simsimd)
+set(LBUG_LINK_LIBRARIES ${LBUG_STATIC_ARCHIVE_LIBRARIES} fast_float brotlidec brotlicommon yyjson zstd lz4)
 if (NOT __SINGLE_THREADED__)
     list(APPEND LBUG_LINK_LIBRARIES Threads::Threads)
 endif()
