The wrapper enables the CUDA language, so it will not configure without a working CUDA — even though libk4arecord_v2.so does not use it. A non-interactive shell has no cuda/bin on PATH, so point cmake at nvcc and pass the architecture derived from the SoC (Orin = sm_87). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>