LNK 2019 error (OPencv 4.6.0)

These were my cmake settings
with_cuda : True
cmake_configuration_type : Release

That means I am using release configuration from opencv and also release configuration from my code as you can see here.
E:\FFTAI\ai-plugin\out\build*x64-Release*\api.cpp.obj

Can you again explain what exactly you meant here. I didnt catch you completely.