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

set(CMAKE_C_COMPILER icc)
set(CMAKE_CXX_COMPILER icpc)
set(CMAKE_Fortran_COMPILER ifort)

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