<div dir="ltr">Hi All,<div><br></div><div>I'd like to understand the expectations with CMake 3.12+ with the following setup.</div><div><br></div><div>project(foo LANGUAGES CXX CUDA)</div><div><br></div><div>By default, should the CUDACXX compiler be using the found compiler for CXX for host-side compilation? </div><div><br></div><div>What I'm seeing is that host-side compilation for CUDA is not passing -ccbin to NVCC or setting up the environment in a way that nvcc will use the CXX configured compiler but rather just using the c++ it finds on PATH. </div><div><br></div><div>Is there a best practice for telling the CUDA language to use the CXX settings for host-side compilation?</div><div><br></div><div>Thanks!</div></div>