Error while building only some module of open cv

When i try to build only some part of open cv module which i did using listing opencv module like BUILD_LIST=calib3d,videoio,ts,ccalib , i’m able to solve my objective but problem is that at the end i’m getting error saying that
CMake Error at /home/osboxes/.hunter/_Base/1258e48/252be92/5b7d790/Install/lib/cmake/opencv4/OpenCVModules.cmake:167 (message):
The imported target “quirc” references the file


So what can i do to remove this error