cmake_minimum_required(VERSION 3.22)

project(vpi_blur)

# This instructs cmake to look for the most recent
# vpi instance installed on the system.
find_package(vpi REQUIRED)
find_package(OpenCV REQUIRED)

# Creates the blur executable target
add_executable(vpi_blur main.cpp)

# It uses vpi and opencv. CMake will automatically
# set up the correct header and library directories,
# and make hello_work link to these libraries.
target_link_libraries(vpi_blur vpi opencv_core opencv_imgproc opencv_imgcodecs)
