mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
NVHPC: Support nvfortran versions that don't support isystem
Fixes: #25019
This commit is contained in:
committed by
Brad King
parent
f58c7659d8
commit
f73ae7c510
@@ -1,3 +1,7 @@
|
||||
include(Compiler/PGI-Fortran)
|
||||
include(Compiler/NVHPC)
|
||||
__compiler_nvhpc(Fortran)
|
||||
if(CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 21.7)
|
||||
# Before NVHPC 21.7 nvfortran didn't support isystem
|
||||
unset(CMAKE_INCLUDE_SYSTEM_FLAG_Fortran)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user