pixcisrc: update CMakeLists to actually work
This commit is contained in:
parent
0f6423f2ca
commit
e7e0ff2b85
@ -1,26 +1,26 @@
|
|||||||
add_definitions(-DHAVE_CONFIG_H)
|
add_definitions(-DHAVE_CONFIG_H)
|
||||||
|
|
||||||
set ( SOURCES
|
set(SOURCES
|
||||||
gstpixcisrc.c )
|
gstpixcisrc.c)
|
||||||
|
|
||||||
set ( HEADERS
|
set(HEADERS
|
||||||
gstpixcisrc.h )
|
gstpixcisrc.h)
|
||||||
|
|
||||||
include_directories ( AFTER
|
include_directories(AFTER
|
||||||
${PIXCI_INCLUDE_DIR}
|
${XCLIB_INCLUDE_DIR}
|
||||||
.)
|
.)
|
||||||
|
|
||||||
add_library ( libgstpixci MODULE
|
add_library(libgstpixci MODULE
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
${HEADERS} )
|
${HEADERS})
|
||||||
|
|
||||||
target_link_libraries ( libgstpixci
|
target_link_libraries(libgstpixci
|
||||||
${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}
|
||||||
${PIXCI_LIBRARIES})
|
${XCLIB_LIBRARIES})
|
||||||
|
|
||||||
install (TARGETS libgstpixci
|
install(TARGETS libgstpixci
|
||||||
LIBRARY DESTINATION lib/gstreamer-0.10)
|
LIBRARY DESTINATION lib/gstreamer-0.10)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user