Disable gcc-specific version checks for NVIDIA HPC

This commit is contained in:
Martin Kroeker
2026-04-21 12:16:10 +02:00
committed by GitHub
parent 02dc625d42
commit c87e4fca72
+1
View File
@@ -113,6 +113,7 @@ if (${CMAKE_C_COMPILER_ID} STREQUAL "PGI")
endif ()
if (${CMAKE_C_COMPILER_ID} STREQUAL "NVHPC")
set (GCC_VERSION 100)
if (POWER)
set(CCOMMON_OPT "${CCOMMON_OPT} -tp pwr8")
elseif (X86_64)