niimaqdx: cleanup cmakelists
This commit is contained in:
parent
732e6a2d7e
commit
1cec085eca
@ -1,26 +1,26 @@
|
|||||||
add_definitions(-DHAVE_CONFIG_H)
|
add_definitions(-DHAVE_CONFIG_H)
|
||||||
|
|
||||||
set ( SOURCES
|
set (SOURCES
|
||||||
gstniimaqdx.c )
|
gstniimaqdx.c)
|
||||||
|
|
||||||
set ( HEADERS
|
set (HEADERS
|
||||||
gstniimaqdx.h )
|
gstniimaqdx.h)
|
||||||
|
|
||||||
include_directories ( AFTER
|
include_directories (AFTER
|
||||||
.
|
.
|
||||||
${NIIMAQDX_INCLUDE_DIR} )
|
${NIIMAQDX_INCLUDE_DIR})
|
||||||
|
|
||||||
add_library ( libgstniimaqdx MODULE
|
add_library(libgstniimaqdx MODULE
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
${HEADERS} )
|
${HEADERS} )
|
||||||
|
|
||||||
target_link_libraries ( libgstniimaqdx
|
target_link_libraries(libgstniimaqdx
|
||||||
general ${GLIB2_LIBRARIES}
|
general ${GLIB2_LIBRARIES}
|
||||||
general ${GOBJECT_LIBRARIES}
|
general ${GOBJECT_LIBRARIES}
|
||||||
general ${GSTREAMER_LIBRARY}
|
general ${GSTREAMER_LIBRARY}
|
||||||
general ${GSTREAMER_BASE_LIBRARY}
|
general ${GSTREAMER_BASE_LIBRARY}
|
||||||
general ${GSTREAMER_VIDEO_LIBRARY}
|
general ${GSTREAMER_VIDEO_LIBRARY}
|
||||||
general ${NIIMAQDX_LIBRARIES} )
|
general ${NIIMAQDX_LIBRARIES})
|
||||||
|
|
||||||
install (TARGETS libgstniimaqdx
|
install (TARGETS libgstniimaqdx
|
||||||
LIBRARY DESTINATION lib/gstreamer-0.10)
|
LIBRARY DESTINATION lib/gstreamer-0.10)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user