summaryrefslogtreecommitdiff
path: root/user/eigen/fix_path_FindEigen3.patch
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2019-10-16 22:36:25 +0000
committerDan Theisen <djt@hxx.in>2020-04-23 06:24:33 +0000
commitcd85b24dc836db9976d2c69d318d364e55618a7e (patch)
tree8d6a81eeddb3adf1064f040588a472a93c6594e1 /user/eigen/fix_path_FindEigen3.patch
parentba8de618905acb1f569cdcc76e46a7f7dc885c16 (diff)
downloadpackages-cd85b24dc836db9976d2c69d318d364e55618a7e.tar.gz
packages-cd85b24dc836db9976d2c69d318d364e55618a7e.tar.bz2
packages-cd85b24dc836db9976d2c69d318d364e55618a7e.tar.xz
packages-cd85b24dc836db9976d2c69d318d364e55618a7e.zip
user/eigen: adopt, fix pkgconfig and cmake paths, build examples
Diffstat (limited to 'user/eigen/fix_path_FindEigen3.patch')
-rw-r--r--user/eigen/fix_path_FindEigen3.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/user/eigen/fix_path_FindEigen3.patch b/user/eigen/fix_path_FindEigen3.patch
new file mode 100644
index 000000000..a5b42d5f3
--- /dev/null
+++ b/user/eigen/fix_path_FindEigen3.patch
@@ -0,0 +1,16 @@
+Description: fix installation path for cmake-files
+Author: Anton Gladky <gladk@debian.org>
+Last-Update: 2015-12-18
+Index: eigen-eigen-323c052e1731/CMakeLists.txt
+===================================================================
+--- eigen-eigen-323c052e1731.orig/CMakeLists.txt
++++ eigen-eigen-323c052e1731/CMakeLists.txt
+@@ -393,7 +393,7 @@ else()
+ )
+ endif()
+ set(CMAKEPACKAGE_INSTALL_DIR
+- "${CMAKE_INSTALL_DATADIR}/eigen3/cmake"
++ "/usr/lib/cmake/eigen3"
+ CACHE PATH "The directory relative to CMAKE_PREFIX_PATH where Eigen3Config.cmake is installed"
+ )
+ set(PKGCONFIG_INSTALL_DIR