summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCCompilerId.c.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-03-11 13:09:17 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-03-11 13:09:33 (GMT)
commit33900e3c7c59d927c3d674bbba7320cf7b2e8bf9 (patch)
tree1530ca14f19f2433679cd6d1a0e3692ec51c54ae /Modules/CMakeCCompilerId.c.in
parent8dacf533a90a89c6812e9081c3632c9f60158bc0 (diff)
parent13144e82cdb29490ac34251b7c48a0260d4d54cf (diff)
downloadCMake-33900e3c7c59d927c3d674bbba7320cf7b2e8bf9.zip
CMake-33900e3c7c59d927c3d674bbba7320cf7b2e8bf9.tar.gz
CMake-33900e3c7c59d927c3d674bbba7320cf7b2e8bf9.tar.bz2
Merge topic 'cray-compiler-wrapper-detection'
13144e82cd Cray: Enable Cray compiler wrapper detection on all platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5897
Diffstat (limited to 'Modules/CMakeCCompilerId.c.in')
-rw-r--r--Modules/CMakeCCompilerId.c.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeCCompilerId.c.in b/Modules/CMakeCCompilerId.c.in
index 626351d..75e9d1a 100644
--- a/Modules/CMakeCCompilerId.c.in
+++ b/Modules/CMakeCCompilerId.c.in
@@ -26,7 +26,7 @@ char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
char const* qnxnto = "INFO" ":" "qnxnto[]";
#endif
-#if defined(__CRAYXE) || defined(__CRAYXC)
+#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
#endif
@@ -80,7 +80,7 @@ int main(int argc, char* argv[])
#ifdef SIMULATE_VERSION_MAJOR
require += info_simulate_version[argc];
#endif
-#if defined(__CRAYXE) || defined(__CRAYXC)
+#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
require += info_cray[argc];
#endif
require += info_language_dialect_default[argc];