[pcl] 01/01: Fix PCL_ROOT path

Jochen Sprickerhof jspricke at moszumanska.debian.org
Fri Aug 18 09:40:59 UTC 2017


This is an automated email from the git hooks/post-receive script.

jspricke pushed a commit to branch patch-queue/master
in repository pcl.

commit 27033e9ae52f9226b7e23c2240042c6d99067c9d
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Fri Aug 18 11:30:38 2017 +0200

    Fix PCL_ROOT path
---
 PCLConfig.cmake.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PCLConfig.cmake.in b/PCLConfig.cmake.in
index f4ef6a0..aa3e000 100644
--- a/PCLConfig.cmake.in
+++ b/PCLConfig.cmake.in
@@ -717,7 +717,7 @@ if(WIN32 AND NOT MINGW)
   get_filename_component(PCL_ROOT "${PCL_DIR}" PATH)
 else(WIN32 AND NOT MINGW)
 # 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)
 
 # check whether PCLConfig.cmake is found into a PCL installation or in a build tree

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pcl.git



More information about the debian-science-commits mailing list