vcpkg/ports/vtk/remove-prefix-changes.patch
Kai Pastor c5b5b4ea11
[rtabmap] Fix platform and linkage support (#37651)
`rtabmap-res_tool` is moved to a separate port because it is a host
dependency, and actual dependencies of `rtabmap` are heavy and non
opt-out. Only minimal patching needed.

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
2024-04-01 13:32:08 -07:00

15 lines
610 B
Diff

diff --git a/CMake/vtk-config.cmake.in b/CMake/vtk-config.cmake.in
index 9f095ba..8cf7ee2 100644
--- a/CMake/vtk-config.cmake.in
+++ b/CMake/vtk-config.cmake.in
@@ -114,8 +114,6 @@ include("${CMAKE_CURRENT_LIST_DIR}/vtk-prefix.cmake")
set("${CMAKE_FIND_PACKAGE_NAME}_PREFIX_PATH"
"${_vtk_module_import_prefix}")
unset(_vtk_module_import_prefix)
-list(INSERT CMAKE_PREFIX_PATH 0
- "${${CMAKE_FIND_PACKAGE_NAME}_PREFIX_PATH}")
set("${CMAKE_FIND_PACKAGE_NAME}_VERSION" "@VTK_MAJOR_VERSION@.@VTK_MINOR_VERSION@.@VTK_BUILD_VERSION@")
set("${CMAKE_FIND_PACKAGE_NAME}_MAJOR_VERSION" "@VTK_MAJOR_VERSION@")