eigen3/eigen_pkgconfig.patch
2015-11-06 16:21:54 +01:00

14 lines
357 B
Diff

--- a/eigen3.pc.in
+++ a/eigen3.pc.in
@@ -1,6 +1,9 @@
+prefix=${CMAKE_INSTALL_PREFIX}
+exec_prefix=${prefix}
+
Name: Eigen3
Description: A C++ template library for linear algebra: vectors, matrices, and related algorithms
Requires:
Version: ${EIGEN_VERSION_NUMBER}
Libs:
-Cflags: -I${INCLUDE_INSTALL_DIR}
+Cflags: -I${prefix}/${INCLUDE_INSTALL_DIR}