Commit 74d18c46 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

ios_vout: Build fix.

parent fdaea542
......@@ -3358,6 +3358,7 @@ AC_ARG_ENABLE(ios-vout,
if test "${enable_ios_vout}" = "yes"
then
VLC_ADD_PLUGIN([vout_ios])
VLC_ADD_CFLAGS([vout_ios], [-DUSE_OPENGL_ES=1])
VLC_ADD_LDFLAGS([vout_ios], [-Wl,-framework,OpenGLES,-framework,QuartzCore,-framework,UIKit,-framework,Foundation])
fi
......
......@@ -27,6 +27,8 @@
#import <UIKit/UIKit.h>
#import <OpenGLES/ES1/gl.h>
#import <OpenGLES/ES1/glext.h>
#include <QuartzCore/QuartzCore.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
......@@ -38,8 +40,8 @@
#include <vlc_vout_opengl.h>
#define USE_OPENGL_ES 1
#include "opengl.h"
#include <QuartzCore/QuartzCore.h>
/**
* Forward declarations
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment