CMAKE_<LANG>_HOST_COMPILER_VERSIONΒΆ
Added in version 3.31.
This variable is available when <LANG>
is CUDA
or HIP
and CMAKE_<LANG>_COMPILER_ID
is NVIDIA
.
It contains the version of the host compiler invoked by nvcc
,
either by default or as specified by CMAKE_<LANG>_HOST_COMPILER
,
in the same format as CMAKE_<LANG>_COMPILER_VERSION
.