summaryrefslogtreecommitdiffstats
path: root/config/toolchain/GCC.cmake
blob: ddb16414134a0bfda4e89eeccd63e9d97a096e6f (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 "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 "")