summaryrefslogtreecommitdiff
path: root/user/eigen/fix_path_FindEigen3.patch
diff options
context:
space:
mode:
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