rmattes pushed to pcl (f21). "Fix PCLConfig.cmake VTK_LIBRARIES definition"

notifications at fedoraproject.org notifications at fedoraproject.org
Sun May 17 18:13:30 UTC 2015


From cf89da0e04248b53d154d24a1beca04988986e26 Mon Sep 17 00:00:00 2001
From: Rich Mattes <richmattes at gmail.com>
Date: Sun, 17 May 2015 14:13:02 -0400
Subject: Fix PCLConfig.cmake VTK_LIBRARIES definition


diff --git a/pcl-1.7.1-fedora.patch b/pcl-1.7.1-fedora.patch
index 275f843..84ef3ed 100644
--- a/pcl-1.7.1-fedora.patch
+++ b/pcl-1.7.1-fedora.patch
@@ -1,12 +1,12 @@
 diff -up ./PCLConfig.cmake.in.fedora ./PCLConfig.cmake.in
 --- ./PCLConfig.cmake.in.fedora	2013-10-07 09:09:35.000000000 -0400
-+++ ./PCLConfig.cmake.in	2014-03-21 16:40:01.057216627 -0400
++++ ./PCLConfig.cmake.in	2015-05-17 12:29:07.480899577 -0400
 @@ -267,7 +267,7 @@ macro(find_VTK)
    endif(PCL_ALL_IN_ONE_INSTALLER)
    find_package(VTK ${QUIET_})
    if (VTK_FOUND AND NOT ANDROID)
 -    set(VTK_LIBRARIES vtkCommon vtkRendering vtkHybrid vtkCharts)
-+    set(VTK_LIBRARIES vtkCommonCore vtkRenderingCore)
++    set(VTK_LIBRARIES "@VTK_LIBRARIES@")
    endif(VTK_FOUND AND NOT ANDROID)
  endmacro(find_VTK)
  
diff --git a/pcl.spec b/pcl.spec
index 4c7e562..d1ba039 100644
--- a/pcl.spec
+++ b/pcl.spec
@@ -2,7 +2,7 @@
 
 Name:           pcl
 Version:        1.7.1
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Library for point cloud processing
 
 Group:          System Environment/Libraries
@@ -194,6 +194,9 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{apiversion}
 
 
 %changelog
+* Sun May 17 2015 Rich Mattes <richmattes at gmail.com> - 1.7.1-6
+- Fix PCLConfig.cmake VTK_LIBRARIES definition
+
 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7.1-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/pcl.git/commit/?h=f21&id=cf89da0e04248b53d154d24a1beca04988986e26


More information about the scm-commits mailing list