Skip to content

Commit

Permalink
let Vc detect icpx and icx as Intel compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Jul 6, 2021
1 parent 4734564 commit 4075b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/VcMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ macro(vc_determine_compiler)
set(Vc_COMPILER_IS_CLANG false)
set(Vc_COMPILER_IS_MSVC false)
set(Vc_COMPILER_IS_GCC false)
if(CMAKE_CXX_COMPILER MATCHES "/(icpc|icc)$")
if(CMAKE_CXX_COMPILER MATCHES "/(icpc|icc|icpcx|icx)$")
set(Vc_COMPILER_IS_INTEL true)
exec_program(${CMAKE_CXX_COMPILER} ARGS -dumpversion OUTPUT_VARIABLE Vc_ICC_VERSION)
message(STATUS "Detected Compiler: Intel ${Vc_ICC_VERSION}")
Expand Down

0 comments on commit 4075b3d

Please sign in to comment.