mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 20:56:55 +00:00
glm: add graphics dependency
This commit is contained in:
parent
d357a20068
commit
88ebe71976
@ -11,6 +11,16 @@ PKG_SOURCE_DIR="glm"
|
|||||||
PKG_DEPENDS_TARGET="toolchain"
|
PKG_DEPENDS_TARGET="toolchain"
|
||||||
PKG_LONGDESC="OpenGL Mathematics (GLM)"
|
PKG_LONGDESC="OpenGL Mathematics (GLM)"
|
||||||
|
|
||||||
|
# Not needed by GLM itself, but users will need it. So instead of adding this
|
||||||
|
# to every user, put it here once.
|
||||||
|
if [ "${OPENGLES_SUPPORT}" = "yes" ]; then
|
||||||
|
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "${OPENGL_SUPPORT}" = "yes" ]; then
|
||||||
|
PKG_DEPENDS_TARGET+=" ${OPENGL}"
|
||||||
|
fi
|
||||||
|
|
||||||
# Hack install solution until cmake install restored in upstream package
|
# Hack install solution until cmake install restored in upstream package
|
||||||
makeinstall_target() {
|
makeinstall_target() {
|
||||||
target_has_feature 32bit && PKG_VOID_SIZE=4 || PKG_VOID_SIZE=8
|
target_has_feature 32bit && PKG_VOID_SIZE=4 || PKG_VOID_SIZE=8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user