Skip to content

Commit

Permalink
python: set cmake defines in toml
Browse files Browse the repository at this point in the history
  • Loading branch information
tvandera committed Jun 4, 2024
1 parent 0ad6395 commit 59493b9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ sdist.include = ["python/smurff/_version.py"]
cmake.verbose = true
logging.level = "INFO"

[tool.scikit-build.cmake.define]
ENABLE_BOOST = "OFF"
ENABLE_CMDLINE = "OFF"
ENABLE_TESTS = "OFF"

[tool.setuptools_scm] # Section required
write_to = "python/smurff/_version.py"

Expand Down

0 comments on commit 59493b9

Please sign in to comment.