edtpdvsrc: fix build

This commit is contained in:
Joshua M. Doe 2015-10-21 08:44:11 -04:00
parent 4ea20bea93
commit 69a1db6b2f

View File

@ -1,26 +1,28 @@
add_definitions(-DHAVE_CONFIG_H) add_definitions(-DHAVE_CONFIG_H)
set(SOURCES set(SOURCES
gstedt.c
gstedtpdvsink.c
gstedtpdvsrc.c) gstedtpdvsrc.c)
set(HEADERS set(HEADERS
gstedtpdvsink.h
gstedtpdvsrc.h) gstedtpdvsrc.h)
include_directories(AFTER include_directories(AFTER
.
${EDT_INCLUDE_DIR}) ${EDT_INCLUDE_DIR})
add_library(libgstedt MODULE add_library(libgstedt MODULE
${SOURCES} ${SOURCES}
${HEADERS}) ${HEADERS})
target_link_libraries ( libgsteuresys target_link_libraries(libgstedt
${GLIB2_LIBRARIES} ${GLIB2_LIBRARIES}
${GSTREAMER_LIBRARIES} ${GOBJECT_LIBRARIES}
${GSTREAMER_LIBRARY}
${GSTREAMER_BASE_LIBRARY} ${GSTREAMER_BASE_LIBRARY}
${GSTREAMER_INTERFACE_LIBRARY}
${GSTREAMER_VIDEO_LIBRARY} ${GSTREAMER_VIDEO_LIBRARY}
${EDT_LIBRARIES}) ${EDT_LIBRARIES})
install (TARGETS libgsteuresys install(TARGETS libgstedt
LIBRARY DESTINATION lib/gstreamer-0.10) LIBRARY DESTINATION lib/gstreamer-1.0)