mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-24 20:02:45 +00:00
(Qb) Add ANGLE build option - currently requires you to put the required
libs in angle-x64 dir and then have the shared libs inside the main root dir - after this, we want to try static linking
This commit is contained in:
parent
dfda4f3519
commit
14c5825769
@ -1953,6 +1953,13 @@ ifneq ($(findstring Win32,$(OS)),)
|
||||
LIBS += -lhid -lsetupapi
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_ANGLE), 1)
|
||||
OBJ += gfx/common/angle_common.o
|
||||
DEFINES += -DHAVE_ANGLE
|
||||
# TODO/FIXME - should perhaps set these libraries as separate CFLAG variables in qb system
|
||||
LIBS += -lEGL -lGLESv2
|
||||
endif
|
||||
|
||||
# Record
|
||||
|
||||
ifeq ($(HAVE_FFMPEG), 1)
|
||||
|
@ -108,6 +108,9 @@ fi
|
||||
if [ "$HAVE_ANGLE" = 'yes' ]; then
|
||||
eval "HAVE_EGL=\"yes\""
|
||||
add_dirs INCLUDE ./gfx/include/ANGLE
|
||||
add_dirs LIBRARY ./angle-x64
|
||||
add_opt OPENGL no
|
||||
add_opt OPENGLES yes
|
||||
else
|
||||
check_header EGL EGL/egl.h EGL/eglext.h
|
||||
# some systems have EGL libs, but no pkgconfig
|
||||
|
Loading…
x
Reference in New Issue
Block a user