Skip to content

Commit

Permalink
setup: include /usr/local/include/eigen3 for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
nschloe committed Oct 4, 2021
1 parent c4cacad commit 3ac4898
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,9 @@ jobs:
- uses: actions/checkout@v2
with:
lfs: true
- name: Install CGAL 5
run: |
brew install cgal
- name: Install other dependencies
- name: Install system dependencies
run: |
brew install eigen
brew install cgal eigen
- name: Test with tox
run: |
pip install tox
Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
"src/pybind11.cpp",
]
),
include_dirs=[os.environ.get("EIGEN_INCLUDE_DIR", "/usr/include/eigen3/")],
include_dirs=[
os.environ.get("EIGEN_INCLUDE_DIR", "/usr/include/eigen3/"),
# macos/brew:
"/usr/local/include/eigen3",
],
# no CGAL libraries necessary from CGAL 5.0 onwards
libraries=["gmp", "mpfr"],
)
Expand Down

0 comments on commit 3ac4898

Please sign in to comment.