The package dav1d can be imported via CMake FindPkgConfig module:

    find_package(PkgConfig REQUIRED)
    pkg_check_modules(dav1d REQUIRED IMPORTED_TARGET dav1d)
    target_link_libraries(main PkgConfig::dav1d)
    