mirror of
https://github.com/opencv/opencv.git
synced 2024-12-16 02:19:12 +08:00
c9f3f4d1d3
Avoid non-intentional call of "include(FindPkgConfig)" It should be handled in the root CMakeLists.txt (safely for cross-compiling)
9 lines
369 B
CMake
9 lines
369 B
CMake
cmake_minimum_required(VERSION 3.5)
|
|
|
|
set(OpenCV_SOURCE_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../..")
|
|
set(WITH_GSTREAMER ON)
|
|
include("${OpenCV_SOURCE_DIR}/modules/videoio/cmake/plugin_standalone.cmake")
|
|
ocv_create_videoio_plugin("opencv_videoio_gstreamer" "ocv.3rdparty.gstreamer" "GStreamer" "cap_gstreamer.cpp")
|
|
|
|
message(STATUS "Using GStreamer: ${GSTREAMER_VERSION}")
|