Only add nvml subdirectory with BUILD_NVML_PMT enabled
This fixes the issue that NVML is build when CUDA is found while BUILD_NVML_PMT=Off
, for instance when PMT is included into another project that uses CUDA.
This fixes the issue that NVML is build when CUDA is found while BUILD_NVML_PMT=Off
, for instance when PMT is included into another project that uses CUDA.