Problem building with GPU Cycles support on Windows

When I use “make release” it builds an EXE that renders in the 3D viewport with GPU Cycles. When I follow the online instructions to use “WITH_CYCLES_CUDA_BINARIES=ON” with “make” (no arguments) it builds, but it cannot use GPU Cycles. Using the “make” EXE I get an error about not being able to find “cl.exe” when I try to switch the viewport to GPU Cycles rendering. I have the CUDA Toolkit version 11.8 installed. This happens with both VS 2019 and VS 2022. I notice that “make release” generates a bunch of “.cubin” files, but “make” does not, and the “.cubin” files are not present in the standard compiled distro of Blender when I install it.

How do I enable GPU Cycles support when using “make”, as opposed to “make release”?