From 0f11658bc86de8e330cf6797bc253f23698e0a2c Mon Sep 17 00:00:00 2001 From: Andrew Olsen Date: Fri, 24 Sep 2021 12:22:10 +1200 Subject: [PATCH] Add -DWITH_PYTHON=ON to setup.py to make compatible Compatible with google/s2-geometry as of 2021-05-07, that is commit, efb124d8eaf3433323d3e877dedd5e94a63339a3 which only builds the python bindings if WITH_PYTHON=ON. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index d7cb6c0..50479d1 100644 --- a/setup.py +++ b/setup.py @@ -43,6 +43,7 @@ def build_extension(self, ext): cmake_args = ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=' + extdir, '-DCMAKE_SWIG_OUTDIR=' + extdir, + '-DWITH_PYTHON=ON', '-DPython3_EXECUTABLE:FILEPATH=' + sys.executable, # TODO: Still need this?