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

set (CMAKE_COMPILER_VENDOR "GCC")

set (CMAKE_C_COMPILER cc)
set (CMAKE_CXX_COMPILER c++)
set (CMAKE_Fortran_COMPILER gfortran)

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