add_definitions(-DHAVE_CONFIG_H) include_directories(AFTER ${GSTREAMER_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR} ${PNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ../../gst-libs/gst/gl ${GLEW_INCLUDE_DIR} ../../gst-libs . effects) if (NOT GST_USING_BINARY_REGISTRY) include_directories(AFTER ${LIBXML2_INCLUDE_DIR} ${LIBICONV_INCLUDE_DIR}) endif (NOT GST_USING_BINARY_REGISTRY) if (WIN32) include_directories(AFTER ../../win32/common ../../../win32/common) endif (WIN32) if (APPLE) include_directories(AFTER ../..) endif (APPLE) add_library (gstopengl MODULE gstopengl.c gstglimagesink.c gstglupload.c gstgldownload.c gstglfilterblur.c gstglfiltercube.c gstglfilterlaplacian.c gstglfiltersobel.c gstglfilterglass.c gstglfilterapp.c gstglfilterreflectedscreen.c gstglfiltershader.c gstglcolorscale.c gltestsrc.c gstgltestsrc.c gstgloverlay.c gstgldeinterlace.c gstgldifferencematte.c gstglbumper.c gstgleffects.c gstglmosaic.c effects/gstgleffectssources.c effects/gstgleffectidentity.c effects/gstgleffectmirror.c effects/gstgleffectsqueeze.c effects/gstgleffectstretch.c effects/gstgleffecttunnel.c effects/gstgleffectfisheye.c effects/gstgleffecttwirl.c effects/gstgleffectbulge.c effects/gstgleffectsquare.c effects/gstgleffectlumatocurve.c effects/gstgleffectrgbtocurve.c effects/gstgleffectsin.c effects/gstgleffectglow.c effects/gstgleffectxray.c) target_link_libraries(gstopengl general gstgl general ${JPEG_LIBRARY} general ${PNG_LIBRARY} general ${ZLIB_LIBRARY})