Bugzilla – Attachment 500 Details for
Bug 892
CMake: add pkg-config file for "uninstalled" case
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]
patch for problem
0001-eigen3-pkg-config-added-uninstalled-version.patch (text/plain), 1.42 KB, created by
Martin Zenzes
on 2014-10-14 18:18:32 UTC
(
hide
)
Description:
patch for problem
Filename:
MIME Type:
Creator:
Martin Zenzes
Created:
2014-10-14 18:18:32 UTC
Size:
1.42 KB
patch
obsolete
>From 777e62ec4439ed930bf355cabb801f6378ee5a48 Mon Sep 17 00:00:00 2001 >From: Armin Burchardt <burchardt@uni-bremen.de> >Date: Thu, 21 Mar 2013 11:54:17 +0000 >Subject: [PATCH 1/8] [eigen3] pkg-config: added -uninstalled version. > >--- > CMakeLists.txt | 3 +++ > eigen3-uninstalled.pc.in | 6 ++++++ > 2 files changed, 9 insertions(+) > create mode 100644 eigen3-uninstalled.pc.in > >diff --git a/CMakeLists.txt b/CMakeLists.txt >index 3ba310a..17bb808 100644 >--- a/CMakeLists.txt >+++ b/CMakeLists.txt >@@ -297,6 +297,9 @@ if(EIGEN_BUILD_PKGCONFIG) > message(STATUS "pkgconfig not found; installing in ${pkg_config_install_dir}" ) > endif(pkg_config_libdir) > >+ # if this cmake file is called with add_subdirectory, we want to output >+ # the -uninstalled.pc version to the top-level project's binary dir. >+ configure_file(eigen3-uninstalled.pc.in ${CMAKE_BINARY_DIR}/eigen3-uninstalled.pc) > configure_file(eigen3.pc.in eigen3.pc) > install(FILES ${CMAKE_CURRENT_BINARY_DIR}/eigen3.pc > DESTINATION ${pkg_config_install_dir}/pkgconfig >diff --git a/eigen3-uninstalled.pc.in b/eigen3-uninstalled.pc.in >new file mode 100644 >index 0000000..dd297fd >--- /dev/null >+++ b/eigen3-uninstalled.pc.in >@@ -0,0 +1,6 @@ >+Name: Eigen3 >+Description: A C++ template library for linear algebra: vectors, matrices, and related algorithms >+Requires: >+Version: ${EIGEN_VERSION_NUMBER} >+Libs: >+Cflags: -I${CMAKE_CURRENT_SOURCE_DIR} >-- >2.1.1 >
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 892
: 500