Cannot locate rosdep definition for [zed_interfaces]

I am working with ROS2 Foxy on Ubuntu 20 system. Following this link
But I am receiving the below error

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
zed_components: Cannot locate rosdep definition for [zed_interfaces]
zed_ros2: Cannot locate rosdep definition for [zed_interfaces]
Continuing to install resolvable dependencies...
#All required rosdeps installed successfully

using CUDA 11.5 and ZED_SDK version 3.7.2

Installation instruction on the Stereolabs website for ROS2 is different than that of ROS2-wrapper on github. the difference I see is cloning repository using --recursive. when I didn’t use recursive while cloning I am getting those build errors. Using recursive solved my problem.