update patch
authorJochen Sprickerhof <git@jochen.sprickerhof.de>
Fri, 24 Jan 2020 13:21:47 +0000 (14:21 +0100)
committerJochen Sprickerhof <git@jochen.sprickerhof.de>
Fri, 24 Jan 2020 13:21:47 +0000 (14:21 +0100)
debian/patches/0001-Fix-PCL_ROOT-path.patch

index 71a6b979783627f8a3674281a10b4a75a0bc6a22..5e317db97099943b971e74fc554993f1bfecc472 100644 (file)
@@ -7,15 +7,15 @@ Subject: Fix PCL_ROOT path
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/PCLConfig.cmake.in b/PCLConfig.cmake.in
-index 6fadb59..3443905 100644
+index 9f78fcf..91e6ebd 100644
 --- a/PCLConfig.cmake.in
 +++ b/PCLConfig.cmake.in
-@@ -393,7 +393,7 @@ if(WIN32 AND NOT MINGW)
+@@ -398,7 +398,7 @@ if(WIN32 AND NOT MINGW)
    get_filename_component(PCL_ROOT "${PCL_DIR}" PATH)
- else(WIN32 AND NOT MINGW)
+ else()
  # PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y
 -  get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE)
 +  get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../../../.." ABSOLUTE)
- endif(WIN32 AND NOT MINGW)
+ endif()
  
  # check whether PCLConfig.cmake is found into a PCL installation or in a build tree