package/kodi-visualisation-shadertoy: needs libglew for OpenGL build

Fixes
-- Found OpenGL: /home/bernd/buildroot/output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/lib/libGL.so
CMake Error at /home/bernd/buildroot/output/host/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148
 (message):
  Could NOT find GLEW (missing: GLEW_INCLUDE_DIRS GLEW_LIBRARIES)

For details have a look at
https://github.com/notspiff/visualization.shadertoy/blob/master/CMakeLists.txt#L21

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Bernd Kuhls 2016-05-10 20:40:22 +02:00 committed by Thomas Petazzoni
parent 51ad7ed676
commit 25ab35697e
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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))