eigen3/eigen_pkgconfig.patch
2015-11-06 21:04:56 +01:00

14 lines
385 B
Diff

--- a/eigen3.pc.in
+++ a/eigen3.pc.in
@@ -1,6 +1,9 @@
+prefix=${CMAKE_INSTALL_PREFIX}
+exec_prefix=${CMAKE_INSTALL_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${CMAKE_INSTALL_PREFIX}/${INCLUDE_INSTALL_DIR}