Add patch for pcl_2d-1.8.pc
authorJochen Sprickerhof <git@jochen.sprickerhof.de>
Fri, 14 Sep 2018 19:17:28 +0000 (21:17 +0200)
committerJochen Sprickerhof <git@jochen.sprickerhof.de>
Fri, 14 Sep 2018 19:17:28 +0000 (21:17 +0200)
debian/patches/0001-Generate-pkgconfig-for-2d-module.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/0001-Generate-pkgconfig-for-2d-module.patch b/debian/patches/0001-Generate-pkgconfig-for-2d-module.patch
new file mode 100644 (file)
index 0000000..46d7456
--- /dev/null
@@ -0,0 +1,26 @@
+From f26bd2f898b45cc24854031e3a13397f315c2099 Mon Sep 17 00:00:00 2001
+From: Sergey Alexandrov <alexandrov88@gmail.com>
+Date: Thu, 31 Aug 2017 11:59:19 +0200
+Subject: [PATCH] Generate pkgconfig for 2d module
+
+---
+ 2d/CMakeLists.txt | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/2d/CMakeLists.txt b/2d/CMakeLists.txt
+index afaa99846..5a3db1040 100644
+--- a/2d/CMakeLists.txt
++++ b/2d/CMakeLists.txt
+@@ -35,6 +35,9 @@ if(build)
+     include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include" ${VTK_INCLUDE_DIRECTORIES})
++    set(LIB_NAME "pcl_${SUBSYS_NAME}")
++    PCL_MAKE_PKGCONFIG_HEADER_ONLY("${LIB_NAME}" "${SUBSYS_NAME}" "${SUBSYS_DESC}" "${SUBSYS_DEPS}" "" "" "" "")
++
+     #Install include files
+     PCL_ADD_INCLUDES("${SUBSYS_NAME}" "${SUBSYS_NAME}" ${incs})
+     PCL_ADD_INCLUDES("${SUBSYS_NAME}" "${SUBSYS_NAME}/impl" ${impl_incs})
+-- 
+2.19.0
+
index 9caf062185c21fba2917cec32b5be06eac327b22..8b92a36489053061dd0adbce1891b78973fcfd32 100644 (file)
@@ -2,3 +2,4 @@
 0002-Dereference-shared_ptr-fix-for-GCC8.patch
 2422.patch
 2338.patch
+0001-Generate-pkgconfig-for-2d-module.patch