1>nvcc fatal : Unsupported gpu architecture 'compute_86'

I build my darknet on windows 10, video Card is GeForce GT 520MX.CUDA is10.0
I have got this error:
1>nvcc fatal : Unsupported gpu architecture ‘compute_86’

Unfortunately, all answers I found were not helpful.

Hello,
Can you help me solve this error:

|Error|MSB3721|The command C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc.exe -gencode=arch=compute_30,code=\sm_30,compute_30\ -gencode=arch=compute_75,code=\sm_75,compute_75\ --use-local-env -ccbin C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64 -x cu -I\include -IC:\opencv_3.0\opencv\build\include -I…\include -I…\3rdparty\stb\include -I…\3rdparty\pthreads\include -IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include -IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include -I\include -I\include -IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -DCUDNN -DGPU -DLIB_EXPORTS -D_TIMESPEC_DEFINED -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -DWIN32 -DNDEBUG -D_CONSOLE -D_LIB -D_WINDLL -D_MBCS -Xcompiler /EHsc /W3 /nologo /O2 /Fdx64\DLL_Release\vc142.pdb /FS /Zi /MD -o x64\DLL_Release\blas_kernels.cu.obj C:\Users\user\Downloads\darknet\darknet\src\blas_kernels.cu exited with code 1.|yolo_cpp_dll|C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\CUDA 10.2.targets|764||

I am building yolo_cpp_dll.vcxproj on Windows 10, Nvidia GeForce 1050Ti CUDA 10.2 Cudnn 7.6.5

I have been resolving this code for days but it is not getting build,
Please help me,
Thanks in advance

According to :NVIDIA GeForce GT 540M Specs | TechPowerUp GPU Database this card is Compute 2.1 and Cuda 10 does not support anything below Compute 3.0.

The error message is telling you that building for Compute 8.6 is unsupported, which is correct as Cuda 10 does not support sm 8.6. You need Cuda >= 11.1 for this