mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 14:59:55 +00:00
libeigen: patch to install the find cmake script
This commit is needed for the pcl-ros 1.3.0 recipe in the meta-ros layer, which detects the Eigen library with the provided cmake script. Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
5b8bd16332
commit
aaf7140847
+28
@@ -0,0 +1,28 @@
|
||||
From fd8bc66efac1059c1068f804746b01b90177c333 Mon Sep 17 00:00:00 2001
|
||||
From: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
|
||||
Date: Sun, 18 Oct 2015 16:52:25 +0200
|
||||
Subject: [PATCH] CMakeLists.txt: install FindEigen3.cmake script
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
|
||||
---
|
||||
CMakeLists.txt | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 76a11b9..ec6c6ea 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -342,6 +342,8 @@ if(EIGEN_BUILD_PKGCONFIG)
|
||||
)
|
||||
endif(EIGEN_BUILD_PKGCONFIG)
|
||||
|
||||
+install(FILES "${PROJECT_SOURCE_DIR}/cmake/FindEigen3.cmake" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/cmake/Modules")
|
||||
+
|
||||
add_subdirectory(Eigen)
|
||||
|
||||
add_subdirectory(doc EXCLUDE_FROM_ALL)
|
||||
--
|
||||
1.9.3
|
||||
|
||||
@@ -4,7 +4,8 @@ HOMEPAGE = "http://eigen.tuxfamily.org/"
|
||||
LICENSE = "MPL-2.0"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.MPL2;md5=815ca599c9df247a0c7f619bab123dad"
|
||||
|
||||
SRC_URI = "http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2"
|
||||
SRC_URI = "http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 \
|
||||
file://0001-CMakeLists.txt-install-FindEigen3.cmake-script.patch"
|
||||
SRC_URI[md5sum] = "87274966745d2d3e7964fcc654d0a24b"
|
||||
SRC_URI[sha256sum] = "8a3352f9a5361fe90e451a7305fb1896fc7f771dc16cc0edd8e6b157f52c343e"
|
||||
|
||||
@@ -15,6 +16,7 @@ inherit cmake
|
||||
EXTRA_OECMAKE += "-Dpkg_config_libdir=${libdir}"
|
||||
|
||||
FILES_${PN} = "${includedir} ${libdir}"
|
||||
FILES_${PN}-dev = "${datadir}/cmake/Modules"
|
||||
|
||||
# ${PN} is empty so we need to tweak -dev and -dbg package dependencies
|
||||
RDEPENDS_${PN}-dev = ""
|
||||
|
||||
Reference in New Issue
Block a user