Fix s390x build

This commit is contained in:
Robert Schulze 2024-07-04 18:46:09 +00:00
parent 1bd515cc1f
commit 597810b69d
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A

View File

@ -1,6 +1,7 @@
option(ENABLE_S2_GEOMETRY "Enable S2 Geometry" ${ENABLE_LIBRARIES})
if (NOT ENABLE_S2_GEOMETRY)
# ARCH_S390X broke upstream, it can be re-enabled once https://github.com/google/s2geometry/pull/372 is merged
if (NOT ENABLE_S2_GEOMETRY OR ARCH_S390X)
message(STATUS "Not using S2 Geometry")
return()
endif()