diff options
author | Taylor Braun-Jones <taylor@braun-jones.org> | 2015-11-07 21:29:24 -0500 |
---|---|---|
committer | Taylor Braun-Jones <taylor@braun-jones.org> | 2015-11-07 21:29:24 -0500 |
commit | b836acb7992dcec05e5ff59f08b0c73656380c3d (patch) | |
tree | b1a9baf198b231c05649a190ee31452be6cd1c1a /eigen3.pc.in | |
parent | e73ef4f25e3f82448cce924b0051b8629e8081dc (diff) |
Further fixes for CMAKE_INSTALL_PREFIX correctness
And other related cmake cleanup, including:
- Use CMAKE_CURRENT_LIST_DIR to find UseEigen3.cmake
- Use INSTALL_DIR term consistently for variable names
- Drop unnecessary extra EIGEN_INCLUDE_INSTALL_DIR
- Fix some paths in generated eigen3.pc and Eigen3Config.cmake files
missing CMAKE_INSTALL_PREFIX
- Fix pkgconfig directory choice ignored if it doesn't exist at configure
time (bug #711)
Diffstat (limited to 'eigen3.pc.in')
-rw-r--r-- | eigen3.pc.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/eigen3.pc.in b/eigen3.pc.in index c5855de33..3368a3aa1 100644 --- a/eigen3.pc.in +++ b/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} +Version: @EIGEN_VERSION_NUMBER@ Libs: -Cflags: -I${INCLUDE_INSTALL_DIR} +Cflags: -I${prefix}/@INCLUDE_INSTALL_DIR@ |