Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,10 @@ if(FIRESTORE_USE_EXTERNAL_CMAKE_BUILD)
CACHE BOOL "Force Firestore build tests to match")
endif()

# Disable Snappy's BMI2 optimizations for broader CPU compatibility.
# BMI2 instructions cause Illegal Instruction crashes on older CPUs that don't support BMI2.
set(SNAPPY_HAVE_BMI2 0 CACHE INTERNAL "Disable BMI2 for CPU compatibility" FORCE)

add_subdirectory(${FIRESTORE_SOURCE_DIR} ${FIRESTORE_BINARY_DIR})

copy_subdirectory_definition(${FIRESTORE_SOURCE_DIR} NANOPB_SOURCE_DIR)
Expand Down
Loading