Bugzilla – Attachment 623 Details for
Bug 1100
CMAKE_INSTALL_PREFIX used incorrectly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
This bugzilla service is closed. All entries have been migrated to
https://gitlab.com/libeigen/eigen
[patch]
Fix CMAKE_INSTALL_PREFIX missing from generated eigen3.pc
fix_install_prefix_missing_from_pc_file.patch (text/plain), 959 bytes, created by
Taylor Braun-Jones
on 2015-11-07 02:13:22 UTC
(
hide
)
Description:
Fix CMAKE_INSTALL_PREFIX missing from generated eigen3.pc
Filename:
MIME Type:
Creator:
Taylor Braun-Jones
Created:
2015-11-07 02:13:22 UTC
Size:
959 bytes
patch
obsolete
>diff --git a/CMakeLists.txt b/CMakeLists.txt >index 401400a..a293d5c 100644 >--- a/CMakeLists.txt >+++ b/CMakeLists.txt >@@ -389,7 +389,7 @@ if(EIGEN_BUILD_PKGCONFIG) > message(STATUS "pkgconfig not found; installing in ${pkg_config_install_dir}" ) > endif(pkg_config_libdir) > >- configure_file(eigen3.pc.in eigen3.pc) >+ configure_file(eigen3.pc.in eigen3.pc @ONLY) > install(FILES ${CMAKE_CURRENT_BINARY_DIR}/eigen3.pc > DESTINATION ${pkg_config_install_dir}/pkgconfig > ) >diff --git a/eigen3.pc.in b/eigen3.pc.in >index c5855de..3368a3a 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@
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1100
:
622
| 623