diff --git a/package/kodi-visualisation-shadertoy/Config.in b/package/kodi-visualisation-shadertoy/Config.in index 3b981d0bf4..ac17702709 100644 --- a/package/kodi-visualisation-shadertoy/Config.in +++ b/package/kodi-visualisation-shadertoy/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_KODI_VISUALISATION_SHADERTOY bool "kodi-visualisation-shadertoy" + select BR2_PACKAGE_LIBGLEW if BR2_PACKAGE_HAS_LIBGL select BR2_PACKAGE_LIBPLATFORM help Shadertoy visualiser for Kodi diff --git a/package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.mk b/package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.mk index 308016ed36..e5f2d911db 100644 --- a/package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.mk +++ b/package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.mk @@ -10,4 +10,8 @@ KODI_VISUALISATION_SHADERTOY_LICENSE = GPLv2+ KODI_VISUALISATION_SHADERTOY_LICENSE_FILES = src/main.cpp KODI_VISUALISATION_SHADERTOY_DEPENDENCIES = kodi libplatform +ifeq ($(BR2_PACKAGE_LIBGLEW),y) +KODI_VISUALISATION_SHADERTOY_DEPENDENCIES += libglew +endif + $(eval $(cmake-package))