diff --git a/python/setup.py b/python/setup.py index a5db2b025e6..d1be122888e 100644 --- a/python/setup.py +++ b/python/setup.py @@ -95,7 +95,7 @@ def run(self): def initialize_options(self): _build_ext.initialize_options(self) - self.extra_cmake_args = '' + self.extra_cmake_args = os.environ.get('PYARROW_CMAKE_OPTIONS', '') CYTHON_MODULE_NAMES = [ 'array',