aboutsummaryrefslogtreecommitdiff
path: root/ports/ompl/fix-findeigen3.patch
diff options
context:
space:
mode:
authorLily <47812810+LilyWangL@users.noreply.github.com>2020-04-22 04:31:10 +0800
committerGitHub <noreply@github.com>2020-04-21 13:31:10 -0700
commit43d13abe44bf0c4fab67be53843706637337ed4e (patch)
treee575d3c8215fc77caa6cdcbfd6f954b5a5d59a74 /ports/ompl/fix-findeigen3.patch
parent7873205e98686811b2ad3a67ed914f9d6f2f5611 (diff)
downloadvcpkg-43d13abe44bf0c4fab67be53843706637337ed4e.tar.gz
vcpkg-43d13abe44bf0c4fab67be53843706637337ed4e.zip
[ompl] Fix ompl[app] build error (#10854)
* [ompl] Fix ompl[app] build error * [ompl] Fix patch apply error * [ompl] Remove extra comment * [ompl] Fix build error on Linux/MACOS
Diffstat (limited to 'ports/ompl/fix-findeigen3.patch')
-rw-r--r--ports/ompl/fix-findeigen3.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/ompl/fix-findeigen3.patch b/ports/ompl/fix-findeigen3.patch
new file mode 100644
index 000000000..137aacf20
--- /dev/null
+++ b/ports/ompl/fix-findeigen3.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index fbde81b..c31c6ee 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -110,7 +110,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 CONFIG REQUIRED)
+ include_directories("${EIGEN3_INCLUDE_DIR}")
+
+ set_package_properties(MORSE PROPERTIES