summaryrefslogtreecommitdiffstats
path: root/config/toolchain/icc.cmake
blob: 97f6a64985f191b451108867d8f8e03b1cd114b8 (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 icc)
set(CMAKE_CXX_COMPILER icpc)
set(CMAKE_Fortran_COMPILER ifort)

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