summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-11-03 14:37:33 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-11-03 14:37:54 (GMT)
commit28d63320f1f56be382442ad7c420849cc0e06877 (patch)
tree14ecc6c80a6eeb5ab0d48bdd59b03cc8b22ed2d7 /Modules/Compiler
parent1cf99f66c79e6806aa6774f24918a2a15c385725 (diff)
parent92624714c4ab99fd14631c7a8b45d5efc02cdff9 (diff)
downloadCMake-28d63320f1f56be382442ad7c420849cc0e06877.zip
CMake-28d63320f1f56be382442ad7c420849cc0e06877.tar.gz
CMake-28d63320f1f56be382442ad7c420849cc0e06877.tar.bz2
Merge topic 'nvhpc-isystem' into release-3.22
92624714c4 NVHPC: Support SYSTEM include directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6691
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/NVHPC.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/NVHPC.cmake b/Modules/Compiler/NVHPC.cmake
index 7048670..b51bb43 100644
--- a/Modules/Compiler/NVHPC.cmake
+++ b/Modules/Compiler/NVHPC.cmake
@@ -12,4 +12,5 @@ include(Compiler/PGI)
macro(__compiler_nvhpc lang)
# Logic specific to NVHPC.
+ set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-isystem ")
endmacro()