Skip to content

Commit

Permalink
Meson build: minor cleanup in highspy build config
Browse files Browse the repository at this point in the history
  • Loading branch information
rgommers committed Apr 26, 2024
1 parent 3de2b8d commit 1ab0520
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/meson.build
Expand Up @@ -380,9 +380,11 @@ highs_dep = declare_dependency(link_with: highslib,
)

if get_option('with_pybind11')
py_mod = import('python')
py = py_mod.find_installation(pure: false)
py = import('python').find_installation(pure: false)

pyb11_dep = [
# py_dep is auto-added for Python >= 3.9, so it can be dropped here when
# that is the minimum supported Python version
py.dependency(),
dependency('pybind11')
]
Expand Down

0 comments on commit 1ab0520

Please sign in to comment.