Detect NVHPC compilers by NVHPC as well

The newer nvc++ compilers identify as NVHPC in the CMAKE_CXX_COMPILER_ID. This causes the configuration to fail when setting CMAKE_CXX_COMPILER to nvc++. I have added an additional detection to also detect NVHPC as the nvc++ compilers. I did not change the old code for PGI to preserve any backward compatibility that might be needed.

Edited by Jayesh Badwaik

Merge request reports

Loading