blob: ae1d2f8fa8652e2652cba66e1589e24d73ee4e46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Uncomment the following to use cross-compiling
#set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_COMPILER_VENDOR "intel")
if(USE_SANITIZER)
set(CMAKE_C_COMPILER icl)
set(CMAKE_CXX_COMPILER icl++)
set(CMAKE_Fortran_COMPILER ifort)
set(INTEL_CLANG ON)
else ()
set(CMAKE_C_COMPILER icc)
set(CMAKE_CXX_COMPILER icpc)
set(CMAKE_Fortran_COMPILER ifort)
endif ()
# the following is used if cross-compiling
set(CMAKE_CROSSCOMPILING_EMULATOR "")
|