mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 20:00:38 -06:00
Identify the compilers as `NVHPC` to distinguish it from the older PGI compilers from which they evolved, and from other `NVIDIA` compilers. Fixes: #20887
16 lines
369 B
CMake
16 lines
369 B
CMake
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
# file Copyright.txt or https://cmake.org/licensing for details.
|
|
|
|
|
|
# This module is shared by multiple languages; use include blocker.
|
|
if(__COMPILER_NVHPC)
|
|
return()
|
|
endif()
|
|
set(__COMPILER_NVHPC 1)
|
|
|
|
include(Compiler/PGI)
|
|
|
|
macro(__compiler_nvhpc lang)
|
|
# Logic specific to NVHPC.
|
|
endmacro()
|