Skip to content

Commit 41dbca9

Browse files
authored
Merge pull request #5765 from martin-frbg/issue5764
Disable gcc-specific version checks for NVIDIA HPC in CMake builds
2 parents 02dc625 + c87e4fc commit 41dbca9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/cc.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ if (${CMAKE_C_COMPILER_ID} STREQUAL "PGI")
113113
endif ()
114114

115115
if (${CMAKE_C_COMPILER_ID} STREQUAL "NVHPC")
116+
set (GCC_VERSION 100)
116117
if (POWER)
117118
set(CCOMMON_OPT "${CCOMMON_OPT} -tp pwr8")
118119
elseif (X86_64)

0 commit comments

Comments
 (0)