Skip to content

Commit

Permalink
windows cmake does not support icpx frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF committed Oct 9, 2024
1 parent 93a39b2 commit c835dda
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/toolchain/intel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
set(CMAKE_COMPILER_VENDOR "intel")

set(CMAKE_C_COMPILER icx)
set(CMAKE_CXX_COMPILER icpx)
if(WIN32)
set(CMAKE_CXX_COMPILER icx)
else()
set(CMAKE_CXX_COMPILER icpx)
endif()
set(CMAKE_Fortran_COMPILER ifx)

# the following is used if cross-compiling
Expand Down

0 comments on commit c835dda

Please sign in to comment.