hdf5/config/toolchain/intel.cmake
2020-03-19 10:57:21 -05:00

19 lines
446 B
CMake

# 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 "")