sy6sy2 / xbmc

Kodi is an award-winning free and open source home theater/media center software and entertainment hub for digital media. With its beautiful interface and powerful skinning engine, it's available for Android, BSD, Linux, macOS, iOS and Windows.
https://kodi.tv/
Other
6 stars 1 forks source link

read deployment target from cmake variable #43

Closed kambala-decapitator closed 5 years ago

kambala-decapitator commented 5 years ago

currently in tools/darwin/packaging/tvos/mkdeb-tvos.sh.in deployment target is hardcoded, and next time it's changed in the "main" place cmake/scripts/tvos/ArchSetup.cmake, it should be updated in this file as well. Would be much better to read it from cmake variable and pass to the script (called from cmake/scripts/tvos/Install.cmake).

and same can be done for iOS as well.

cmake gurus, anyone? :)

kambala-decapitator commented 5 years ago

turned out it's easy :)