mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Merge topic 'support_nvhpc_versions_without_isystem'
f73ae7c510 NVHPC: Support nvfortran versions that don't support isystem
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8588
This commit is contained in:
@@ -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