lagadic / visp

Open Source Visual Servoing Platform

Home Page:https://visp.inria.fr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to use visp conda package to link visp as a 3rd party

fspindle opened this issue · comments

This issue relates to Conda package where the following issues was encountered when visp conda package is used as a third-party. In VISPModules.cmake there remain the full absolute path of the m and pthread libraries used during the package generation. When installing the conda package on a linux target, conda is unable to replace these locations with the corresponding ones on the target.
The fix consists in:

  • for lib m to export the library as private (Fixed in PR #1226 commit e2ed222)
  • for lib pthread to use modern cmake (Fixed in PR #1227 commit 9de4530 and d6e5a2f)
  • for openmp that has a dependency to pthread to consider the specific case of pthread as above (Fixed in PR #1227 commit 9209898)