summaryrefslogtreecommitdiffstats
path: root/Tests/IncludeDirectories
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2021-11-02 13:57:55 (GMT)
committerBrad King <brad.king@kitware.com>2021-11-02 18:33:18 (GMT)
commit92624714c4ab99fd14631c7a8b45d5efc02cdff9 (patch)
treec94ea885c9ab846489dcd5ec6e55edc73af0231e /Tests/IncludeDirectories
parent28a033cc7de056d1a74857606397bb294ebe27ac (diff)
downloadCMake-92624714c4ab99fd14631c7a8b45d5efc02cdff9.zip
CMake-92624714c4ab99fd14631c7a8b45d5efc02cdff9.tar.gz
CMake-92624714c4ab99fd14631c7a8b45d5efc02cdff9.tar.bz2
NVHPC: Support SYSTEM include directories
Fixed #22834
Diffstat (limited to 'Tests/IncludeDirectories')
-rw-r--r--Tests/IncludeDirectories/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/IncludeDirectories/CMakeLists.txt b/Tests/IncludeDirectories/CMakeLists.txt
index 4c488e6..f00565e 100644
--- a/Tests/IncludeDirectories/CMakeLists.txt
+++ b/Tests/IncludeDirectories/CMakeLists.txt
@@ -3,6 +3,7 @@ project(IncludeDirectories)
if (((CMAKE_C_COMPILER_ID STREQUAL GNU AND CMAKE_C_COMPILER_VERSION VERSION_GREATER 4.4)
OR (CMAKE_C_COMPILER_ID STREQUAL Clang AND NOT "x${CMAKE_CXX_SIMULATE_ID}" STREQUAL "xMSVC")
+ OR CMAKE_C_COMPILER_ID STREQUAL NVHPC
OR CMAKE_C_COMPILER_ID STREQUAL AppleClang
OR ("x${CMAKE_C_COMPILER_ID}" STREQUAL "xMSVC" AND
CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL "19.29.30036.3" AND