Drop $PCL_SOURCES_TREE from installation cmake
authorJochen Sprickerhof <git@jochen.sprickerhof.de>
Sat, 25 Dec 2021 08:30:57 +0000 (09:30 +0100)
committerJochen Sprickerhof <jspricke@debian.org>
Fri, 19 Aug 2022 11:41:49 +0000 (12:41 +0100)
It is not used elsewhere and makes the build unreproducible.

Gbp-Pq: Name 0007-Drop-PCL_SOURCES_TREE-from-installation-cmake.patch

PCLConfig.cmake.in

index b8e514884747f468a4829134537e41e2314283a7..5ba9165ebcc662c16723b1277c06a73176a9d4ce 100644 (file)
@@ -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