mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
[316/906] remove some unused HAVE_LIBPNG: libpng is a required package
This commit is contained in:
parent
b2143adee3
commit
51ee1f5976
1 changed files with 5 additions and 15 deletions
|
@ -1,15 +1,10 @@
|
||||||
add_definitions(-DHAVE_CONFIG_H)
|
add_definitions(-DHAVE_CONFIG_H)
|
||||||
|
|
||||||
if (PNG_FOUND AND ZLIB_FOUND)
|
|
||||||
add_definitions(-DHAVE_LIBPNG)
|
|
||||||
include_directories(AFTER
|
|
||||||
${PNG_INCLUDE_DIR}
|
|
||||||
${ZLIB_INCLUDE_DIR})
|
|
||||||
endif (PNG_FOUND AND ZLIB_FOUND)
|
|
||||||
|
|
||||||
include_directories(AFTER
|
include_directories(AFTER
|
||||||
${GSTREAMER_INCLUDE_DIR}
|
${GSTREAMER_INCLUDE_DIR}
|
||||||
${GLIB2_INCLUDE_DIR}
|
${GLIB2_INCLUDE_DIR}
|
||||||
|
${PNG_INCLUDE_DIR}
|
||||||
|
${ZLIB_INCLUDE_DIR}
|
||||||
../../gst-libs/gst/gl
|
../../gst-libs/gst/gl
|
||||||
${GLEW_INCLUDE_DIR}
|
${GLEW_INCLUDE_DIR}
|
||||||
../../gst-libs
|
../../gst-libs
|
||||||
|
@ -27,13 +22,6 @@ if (WIN32)
|
||||||
include_directories(AFTER ../../win32/common)
|
include_directories(AFTER ../../win32/common)
|
||||||
endif (WIN32)
|
endif (WIN32)
|
||||||
|
|
||||||
if (PNG_FOUND AND ZLIB_FOUND)
|
|
||||||
set(OTHER_ELEMENTS
|
|
||||||
gstgloverlay.c
|
|
||||||
gstgldifferencematte.c
|
|
||||||
gstglbumper.c)
|
|
||||||
endif (PNG_FOUND AND ZLIB_FOUND)
|
|
||||||
|
|
||||||
add_library (gstopengl SHARED
|
add_library (gstopengl SHARED
|
||||||
gstopengl.c
|
gstopengl.c
|
||||||
gstglimagesink.c
|
gstglimagesink.c
|
||||||
|
@ -48,7 +36,9 @@ add_library (gstopengl SHARED
|
||||||
gstglcolorscale.c
|
gstglcolorscale.c
|
||||||
gltestsrc.c
|
gltestsrc.c
|
||||||
gstgltestsrc.c
|
gstgltestsrc.c
|
||||||
${OTHER_ELEMENTS}
|
gstgloverlay.c
|
||||||
|
gstgldifferencematte.c
|
||||||
|
gstglbumper.c
|
||||||
gstgleffects.c
|
gstgleffects.c
|
||||||
effects/gstgleffectssources.c
|
effects/gstgleffectssources.c
|
||||||
effects/gstgleffectidentity.c
|
effects/gstgleffectidentity.c
|
||||||
|
|
Loading…
Reference in a new issue