Hi Hugh!

I quickly dug Kodi's CMake machinery and it appears that KodiConfig.cmake is 
installed into /usr/share/kodi/cmake by
https://github.com/xbmc/xbmc/blob/master/cmake/scripts/linux/Install.cmake#L176

What's more interesting, there is another KodiConfig.cmake generated in proper 
place, i.e ${APP_LIB}.
This means that I can solve this bug by the following set of changes:

Upstream:

1. Drop the offending directive from cmake/scripts/linux/Install.cmake
2. Adjust xbmc/xbmc-packaging/debian/kodi-addon-dev.install to include 
usr/lib/*/kodi/*.cmake
(to avoid breakage of Kodi's Ububtu PPA packaging)

Debian:

1. Adjust debian/kodi-addons-dev.install to include usr/lib/*/kodi/*.cmake

I think I will upload this fix to unstable somewhere around 19.4 in December.

-- 
Vasyl Gello
==================================================
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.ge...@gmail.com

Skype: vasek.gello
==================================================
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다

Reply via email to