Skip to content

Commit c194d04

Browse files
let Vc detect icpx and icx as Intel compilers
1 parent 1976b1e commit c194d04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/VcMacros.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ macro(vc_determine_compiler)
4747
set(Vc_COMPILER_IS_CLANG false)
4848
set(Vc_COMPILER_IS_MSVC false)
4949
set(Vc_COMPILER_IS_GCC false)
50-
if(CMAKE_CXX_COMPILER MATCHES "/(icpc|icc)$")
50+
if(CMAKE_CXX_COMPILER MATCHES "/(icpc|icc|icpcx|icx)$")
5151
set(Vc_COMPILER_IS_INTEL true)
5252
exec_program(${CMAKE_CXX_COMPILER} ARGS -dumpversion OUTPUT_VARIABLE Vc_ICC_VERSION)
5353
message(STATUS "Detected Compiler: Intel ${Vc_ICC_VERSION}")

0 commit comments

Comments
 (0)