CMAKE__HOST_COMPILER_VERSION ---------------------------------- .. versionadded:: 3.31 This variable is available when ```` is ``CUDA`` or ``HIP`` and :variable:`CMAKE__COMPILER_ID` is ``NVIDIA``. It contains the version of the host compiler invoked by ``nvcc``, either by default or as specified by :variable:`CMAKE__HOST_COMPILER`, in the same format as :variable:`CMAKE__COMPILER_VERSION`.