diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-02-17 22:37:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-17 22:37:48 (GMT) |
commit | 79ed1cc15f0926a577bd8da96fc551dfea5e8c40 (patch) | |
tree | 2c06ea4d335ff8cb7e7552f1ef12675518bf172d /config/toolchain/gcc.cmake | |
parent | 593484fa0ee30e42a7b735e6a08744b736885d11 (diff) | |
download | hdf5-79ed1cc15f0926a577bd8da96fc551dfea5e8c40.zip hdf5-79ed1cc15f0926a577bd8da96fc551dfea5e8c40.tar.gz hdf5-79ed1cc15f0926a577bd8da96fc551dfea5e8c40.tar.bz2 |
Merge toolchain lowercase names and updates #2426 (#2468)
Diffstat (limited to 'config/toolchain/gcc.cmake')
-rw-r--r-- | config/toolchain/gcc.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/toolchain/gcc.cmake b/config/toolchain/gcc.cmake new file mode 100644 index 0000000..c41d0ca --- /dev/null +++ b/config/toolchain/gcc.cmake @@ -0,0 +1,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 "") |