Kodi Community Forum
FIndJsonCpp.cmake needs developer attention - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136)
+---- Thread: FIndJsonCpp.cmake needs developer attention (/showthread.php?tid=325645)



FIndJsonCpp.cmake needs developer attention - drBlaze - 2017-12-19

Affected PVR addons:
  • pvr.argustv
  • pvr.filmon
  • pvr.pctv
  • pvr.hdhomerun
  • pvr.stalker

The problem:
Addons fail to compile on certain linux distributions (like Arch Linux)

Please read the details from cmake gitlab page:
https://gitlab.kitware.com/cmake/cmake/issues/17555


RE: FIndJsonCpp.cmake needs developer attention - wsnipex - 2017-12-19

right, the find module needs fixing. We've learned long ago that pkg-config alone cannot always be trusted.
One should always use find_path/library
e.g. https://github.com/xbmc/xbmc/blob/master/cmake/modules/FindCurl.cmake#L17-L24