Caps aren't correct, but I can correctly save camera output to file. Many printfs are sprinkled about as I'm having trouble with gst-debug, will remove later.
26 lines
503 B
CMake
26 lines
503 B
CMake
add_definitions(-DHAVE_CONFIG_H)
|
|
|
|
set ( SOURCES
|
|
gsteuresys.c )
|
|
|
|
set ( HEADERS
|
|
gsteuresys.h )
|
|
|
|
include_directories ( AFTER
|
|
.
|
|
${EURESYS_INCLUDE_DIR} )
|
|
|
|
add_library ( libgsteuresys MODULE
|
|
${SOURCES}
|
|
${HEADERS} )
|
|
|
|
target_link_libraries ( libgsteuresys
|
|
${GLIB2_LIBRARIES}
|
|
${GSTREAMER_LIBRARIES}
|
|
${GSTREAMER_BASE_LIBRARY}
|
|
${GSTREAMER_INTERFACE_LIBRARY}
|
|
${GSTREAMER_VIDEO_LIBRARY}
|
|
${EURESYS_LIBRARIES})
|
|
|
|
install (TARGETS libgsteuresys
|
|
LIBRARY DESTINATION lib/gstreamer-0.10) |