From: Jochen Sprickerhof Date: Sat, 25 Dec 2021 08:30:57 +0000 (+0100) Subject: Drop $PCL_SOURCES_TREE from installation cmake X-Git-Tag: archive/raspbian/1.13.0+dfsg-3+rpi1^2^2^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=722be60ed494331f35b69f3ea34b9bd196027e8c;p=pcl.git Drop $PCL_SOURCES_TREE from installation cmake It is not used elsewhere and makes the build unreproducible. Gbp-Pq: Name 0007-Drop-PCL_SOURCES_TREE-from-installation-cmake.patch --- diff --git a/PCLConfig.cmake.in b/PCLConfig.cmake.in index b8e51488..5ba9165e 100644 --- a/PCLConfig.cmake.in +++ b/PCLConfig.cmake.in @@ -409,7 +409,6 @@ elseif(EXISTS "${PCL_DIR}/include/pcl/pcl_config.h") # pcl_message("PCL found into a build tree.") set(PCL_CONF_INCLUDE_DIR "${PCL_DIR}/include") # for pcl_config.h set(PCL_LIBRARY_DIRS "${PCL_DIR}/@LIB_INSTALL_DIR@") - set(PCL_SOURCES_TREE "@CMAKE_SOURCE_DIR@") else() pcl_report_not_found("PCL can not be found on this machine") endif() @@ -504,7 +503,6 @@ foreach(component ${PCL_TO_FIND_COMPONENTS}) pcl/cuda/${cuda_component} pcl/cuda/${component} pcl/gpu/${gpu_component} pcl/gpu/${component} HINTS ${PCL_INCLUDE_DIRS} - "${PCL_SOURCES_TREE}" PATH_SUFFIXES ${component}/include apps/${component}/include