gstreamer/gst/gl/CMakeLists.txt
Julien Isorce a7587aa44e [473/906] cmake build: 2.8 is now required and add jpeg
jpeg and png should be optional but our cmake build is still in pre-alpha
2014-03-15 18:36:42 +01:00

67 lines
1.5 KiB
CMake
Executable file

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)
endif (WIN32)
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})