Files
macports-ports/science/ompl/files/patch-findeigen.diff
2020-06-03 07:42:09 -07:00

14 lines
538 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b8e8a86..d770f21 100644
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -108,7 +108,7 @@ endif()
set_package_properties(Eigen3 PROPERTIES
URL "http://eigen.tuxfamily.org"
PURPOSE "A linear algebra library used throughout OMPL.")
-find_package(Eigen3 REQUIRED)
+find_package(Eigen3 REQUIRED CONFIG)
set_package_properties(Triangle PROPERTIES
URL "http://www.cs.cmu.edu/~quake/triangle.html"
PURPOSE "Used to create triangular decompositions of polygonal 2D environments.")