summaryrefslogtreecommitdiffstats
path: root/config/toolchain/intel.cmake
blob: f8f60b28b46d92ee0cb7d2b7d269d369e0b54a6f (plain)
1
2
3
4
5
6
7
8
9
10
11
# Uncomment the following to use cross-compiling
#set(CMAKE_SYSTEM_NAME Linux)

set(CMAKE_COMPILER_VENDOR "intel")

set(CMAKE_C_COMPILER icx)
set(CMAKE_CXX_COMPILER icpx)
set(CMAKE_Fortran_COMPILER ifx)

# the following is used if cross-compiling
set(CMAKE_CROSSCOMPILING_EMULATOR "")