From 9fd1ef714d254043d6ddb12c64dbf16cd3a09fca Mon Sep 17 00:00:00 2001 From: talksik Date: Fri, 8 Sep 2023 10:00:45 -0700 Subject: [PATCH] including headers, don't need actual linking since no use of gst library --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b0ebe5..241cdf8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,11 @@ cmake_minimum_required(VERSION 3.15) project(HelloWorld) +# gstreamer-1.0 +find_package(PkgConfig REQUIRED) +pkg_check_modules(GST REQUIRED gstreamer-1.0) +include_directories(${GST_INCLUDE_DIRS}) + set(CMAKE_CXX_STANDARD 14) set (source_dir "./src")