[305/906] CMake build now checks for libpng
This commit is contained in:
parent
92e733dce0
commit
e17c93723f
@ -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
|
include_directories(AFTER
|
||||||
../../win32/common
|
|
||||||
${GSTREAMER_INCLUDE_DIR}
|
${GSTREAMER_INCLUDE_DIR}
|
||||||
${GLIB2_INCLUDE_DIR}
|
${GLIB2_INCLUDE_DIR}
|
||||||
${LIBXML2_INCLUDE_DIR}
|
${LIBXML2_INCLUDE_DIR}
|
||||||
${LIBICONV_INCLUDE_DIR}
|
${LIBICONV_INCLUDE_DIR}
|
||||||
${LIBATK_INCLUDE_DIR}
|
${PNG_INCLUDE_DIR}
|
||||||
${CAIRO_INCLUDE_DIR}
|
|
||||||
${GTK2_INCLUDE_DIR}
|
|
||||||
../../gst-libs/gst/gl
|
../../gst-libs/gst/gl
|
||||||
${GLEW_INCLUDE_DIR}
|
${GLEW_INCLUDE_DIR}
|
||||||
../../gst-libs/gst/freeglut
|
|
||||||
../../gst-libs
|
../../gst-libs
|
||||||
|
../..
|
||||||
.
|
.
|
||||||
effects)
|
effects)
|
||||||
|
|
||||||
|
if (WIN32)
|
||||||
|
include_directories(AFTER ../../win32/common)
|
||||||
|
endif (WIN32)
|
||||||
|
|
||||||
add_library (gstopengl SHARED
|
add_library (gstopengl SHARED
|
||||||
gstopengl.c
|
gstopengl.c
|
||||||
gstglimagesink.c
|
gstglimagesink.c
|
||||||
@ -53,4 +58,4 @@ add_library (gstopengl SHARED
|
|||||||
|
|
||||||
target_link_libraries(gstopengl
|
target_link_libraries(gstopengl
|
||||||
general gstgl
|
general gstgl
|
||||||
general ${GTK2_LIBRARIES})
|
general ${PNG_LIBRARY})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user