cmake find_package(..) what is the proper gstreamer package name?
Nicolas Dufresne
nicolas.dufresne at gmail.com
Thu Oct 27 13:31:40 UTC 2016
Le jeudi 27 octobre 2016 à 06:29 +0000, Rick Blacker a écrit :
> find_package(PkgConfig)
> #aux_source_directory(. SRC_LIST)
> #add_executable(${PROJECT_NAME} ${SRC_LIST})
>
> include_directories( ${GSTREAMER_INCLUDE_DIR})
> add_definitions(${GSTREAMER_DEFINITIONS})
> #target_link_libraries(MPEG4GStreamer ${GSTREAMER_LIBRARIES})
After loading the extension, you need to call function to check package
presence. The library check is done by this line:
pkg_check_modules(GST REQUIRED gstreamer-1.0>=1.4
gstreamer-sdp-1.0>=1.4
gstreamer-video-1.0>=1.4
gstreamer-app-1.0>=1.4)
The list can be adjusted, the required version too.
Nicolas
More information about the gstreamer-devel
mailing list