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

set(CMAKE_C_COMPILER pgcc)
set(CMAKE_CXX_COMPILER pgc++)
set(CMAKE_Fortran_COMPILER pgf90)

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