Skip to content

Commit

Permalink
libigl: downgrade Eigen in older versions
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Nov 6, 2023
1 parent e565236 commit 70ec6a1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipes/libigl/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ def requirements(self):
if Version(self.version) >= "2.5.0":
self.requires("eigen/3.4.0", transitive_headers=True)
else:
self.requires("eigen/3.3.9", transitive_headers=True)
# 3.4.0 and 3.3.9 is not compatible, use the version used by the project
# https://github.com/libigl/libigl/blob/v2.4.0/cmake/recipes/external/eigen.cmake#L11
# https://github.com/libigl/libigl/blob/v2.3.0/cmake/LibiglDownloadExternal.cmake#L67
self.requires("eigen/3.3.7", transitive_headers=True)

def build_requirements(self):
self.tool_requires("cmake/[>=3.16 <4]")
Expand Down

0 comments on commit 70ec6a1

Please sign in to comment.