Skip to content

Commit

Permalink
default to not building tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Nov 14, 2024
1 parent d3df01d commit fdfcd74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import setuptools


SETUPTOOLS_CMAKE_OPTIONS = os.environ.get("SETUPTOOLS_CMAKE_OPTIONS", "")
SETUPTOOLS_CMAKE_OPTIONS = os.environ.get("SETUPTOOLS_CMAKE_OPTIONS", "-DBUILD_TESTS=OFF").split()

setuptools.setup(
ext_modules=[
Expand All @@ -26,7 +26,7 @@
"-DBUILD_SHARED_LIBS:BOOL=OFF",
"-DCMAKE_POSITION_INDEPENDENT_CODE=ON",
"-DWITH_PYTHON=ON",
*SETUPTOOLS_CMAKE_OPTIONS.split(),
*SETUPTOOLS_CMAKE_OPTIONS,
],
)
],
Expand Down

0 comments on commit fdfcd74

Please sign in to comment.