summaryrefslogtreecommitdiff
path: root/Modules/CMakeCompilerIdDetection.cmake
diff options
context:
space:
mode:
authorHarini Chilamantula <harini.chilamantula@intel.com>2020-09-21 14:33:23 -0700
committerBrad King <brad.king@kitware.com>2020-09-22 15:20:03 -0400
commit887f3a88a679cc9a9811eac34ab7976e06ef5f78 (patch)
tree05a536c1dd824a9d562ad391099e1c01be3c1709 /Modules/CMakeCompilerIdDetection.cmake
parent0cb7216b9f016d5749209227502e499b53b33841 (diff)
downloadcmake-887f3a88a679cc9a9811eac34ab7976e06ef5f78.tar.gz
Intel: Add Intel DPC++ compiler identification
The compiler identifies itself with the `__INTEL_DPCPP_COMPILER__` preprocessor definition.
Diffstat (limited to 'Modules/CMakeCompilerIdDetection.cmake')
-rw-r--r--Modules/CMakeCompilerIdDetection.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeCompilerIdDetection.cmake b/Modules/CMakeCompilerIdDetection.cmake
index a0f0dfacb6..176e7689de 100644
--- a/Modules/CMakeCompilerIdDetection.cmake
+++ b/Modules/CMakeCompilerIdDetection.cmake
@@ -78,6 +78,7 @@ function(compiler_id_detection outvar lang)
ARMCC
AppleClang
ARMClang
+ IntelDPCPP
Clang
GNU
MSVC