You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys,
I'm vcpkg maintainer.
Recently we are updating pcl in vcpkg (microsoft/vcpkg#18855), but met some problems:
When vtk, a dependency of pcl, finds qt, an error occurs:
After a long period of searching, we found that pcl modified the value of CMAKE_FIND_LIBRARY_SUFFIXES in pcl_options.cmake, which caused its downstream dependencies to fail to find their dependencies through find_library.
For example, qt needs libGL.so, and CMAKE_FIND_LIBRARY_SUFFIXES is modified to .a when statically building PCL, which results in find_library expecting to find libGL.a.
See code:
So, please DO NOT do that, any modification of the cmake macro value that has not been backed up and restored will cause errors when using the downstream configuration.
Thanks,
Jack
The text was updated successfully, but these errors were encountered:
Hi guys,
I'm vcpkg maintainer.
Recently we are updating pcl in vcpkg (microsoft/vcpkg#18855), but met some problems:
When vtk, a dependency of pcl, finds qt, an error occurs:
After a long period of searching, we found that pcl modified the value of
CMAKE_FIND_LIBRARY_SUFFIXES
in pcl_options.cmake, which caused its downstream dependencies to fail to find their dependencies throughfind_library
.For example, qt needs
libGL.so
, andCMAKE_FIND_LIBRARY_SUFFIXES
is modified to.a
when statically building PCL, which results infind_library
expecting to findlibGL.a
.See code:
pcl/cmake/pcl_options.cmake
Lines 5 to 18 in cd99687
So, please DO NOT do that, any modification of the cmake macro value that has not been backed up and restored will cause errors when using the downstream configuration.
Thanks,
Jack
The text was updated successfully, but these errors were encountered: