vcpkg/ports/pcl/no-absolute.patch
Markus Vieth 344b1d9608
[pcl] update to version 1.13.0 (#28818)
* [pcl] update to version 1.13.0

* More necessary changes

* Make requested changes

* Remove qhull patch

* Remove another patch

* Remove libusb patch

* Fix no-absolute.patch

* Fix patch

* Correct versions

* Allow static and shared deps

* Add patch for bigobj option

* Don't remove files

* Request opengl feature of vtk

* Add patch to remove problematic include

* Add patch to remove error in opennurbs code

* Add patch to disable kinfu for cuda 12

---------

Co-authored-by: Jonliu1993 <13720414433@163.com>
2023-01-30 16:41:37 -08:00

14 lines
432 B
Diff

diff --git a/PCLConfig.cmake.in b/PCLConfig.cmake.in
index 4137ed1..167fde2 100644
--- a/PCLConfig.cmake.in
+++ b/PCLConfig.cmake.in
@@ -225,7 +225,7 @@ macro(find_flann)
if(PCL_ALL_IN_ONE_INSTALLER)
set(FLANN_ROOT "${PCL_ROOT}/3rdParty/Flann")
elseif(NOT FLANN_ROOT)
- set(FLANN_ROOT "@FLANN_ROOT@")
+ set(FLANN_ROOT "${VCPKG_IMPORT_PREFIX}")
endif()
set(PCL_FLANN_REQUIRED_TYPE @PCL_FLANN_REQUIRED_TYPE@)