mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
[305/906] CMake build now checks for libpng
This commit is contained in:
parent
92e733dce0
commit
e17c93723f
1 changed files with 12 additions and 7 deletions
|
@ -1,21 +1,26 @@
|
|||
add_definitions(-DHAVE_CONFIG_H -DHAVE_GDKPIXBUF)
|
||||
add_definitions(-DHAVE_CONFIG_H)
|
||||
|
||||
if (PNG_FOUND)
|
||||
add_definitions(-DHAVE_LIBPNG)
|
||||
endif (PNG_FOUND)
|
||||
|
||||
include_directories(AFTER
|
||||
../../win32/common
|
||||
${GSTREAMER_INCLUDE_DIR}
|
||||
${GLIB2_INCLUDE_DIR}
|
||||
${LIBXML2_INCLUDE_DIR}
|
||||
${LIBICONV_INCLUDE_DIR}
|
||||
${LIBATK_INCLUDE_DIR}
|
||||
${CAIRO_INCLUDE_DIR}
|
||||
${GTK2_INCLUDE_DIR}
|
||||
${PNG_INCLUDE_DIR}
|
||||
../../gst-libs/gst/gl
|
||||
${GLEW_INCLUDE_DIR}
|
||||
../../gst-libs/gst/freeglut
|
||||
../../gst-libs
|
||||
../..
|
||||
.
|
||||
effects)
|
||||
|
||||
if (WIN32)
|
||||
include_directories(AFTER ../../win32/common)
|
||||
endif (WIN32)
|
||||
|
||||
add_library (gstopengl SHARED
|
||||
gstopengl.c
|
||||
gstglimagesink.c
|
||||
|
@ -53,4 +58,4 @@ add_library (gstopengl SHARED
|
|||
|
||||
target_link_libraries(gstopengl
|
||||
general gstgl
|
||||
general ${GTK2_LIBRARIES})
|
||||
general ${PNG_LIBRARY})
|
||||
|
|
Loading…
Reference in a new issue