cmake_minimum_required(VERSION 3.10) project(BasicTutorial) include_directories(/usr/include/gstreamer-1.0) include_directories(/usr/include/glib-2.0) include_directories(/usr/lib/aarch64-linux-gnu/glib-2.0/include) # add_executable(${PROJECT_NAME} basic-tutorial-1.c) add_executable(${PROJECT_NAME} basic-tutorial-2.c) target_link_libraries(${PROJECT_NAME} gstreamer-1.0 gobject-2.0 glib-2.0 )