sulewicz / redis-s2geo

Simple Redis Module for geospatial queries, which utilizes S2 Region Coverer algorithm for indexing. Allows point with polygon and polygon with polygon overlap tests in constant time.
MIT License
24 stars 4 forks source link

Google test config error #7

Closed spendres closed 5 months ago

spendres commented 5 months ago

googletest update has breaking changes: https://github.com/google/googletest

output from build on macosx 14.4.1:

cmake -DABSL_PATH=../absl -DCMAKE_CXX_STANDARD=17 -DOPENSSL_ROOT_DIR=$(brew --prefix openssl) .. -- Populating googletest -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /Users/username/dev/projects/redis-s2geo/googletest-subbuild [100%] Built target googletest-populate -- The following features have been enabled:

-- The following REQUIRED packages have been found:

-- The following features have been disabled:

CMake Error at _deps/s2-src/CMakeLists.txt:474 (message): BUILD_TESTS requires GOOGLETEST_ROOT

-- Configuring incomplete, errors occurred!

spendres commented 5 months ago

I am no longer experiencing this error, so I'll close as false alarm.