summaryrefslogtreecommitdiffstats
path: root/config/toolchain/GCC.cmake
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2019-02-28 20:29:04 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2019-02-28 20:29:04 (GMT)
commit7f797174c7a013359e94d1aa5d6540a5629aa550 (patch)
tree0320bfdb5418ab23978afbb1777539270f04c1f2 /config/toolchain/GCC.cmake
parent5eef94f83f4875b64ffe7f9cea05d965bddbd802 (diff)
parent7eb65dbad45f473a953db595147b88d03f671658 (diff)
downloadhdf5-7f797174c7a013359e94d1aa5d6540a5629aa550.zip
hdf5-7f797174c7a013359e94d1aa5d6540a5629aa550.tar.gz
hdf5-7f797174c7a013359e94d1aa5d6540a5629aa550.tar.bz2
Merge branch 'hdf5_1_10_5' into 1.10/master
Diffstat (limited to 'config/toolchain/GCC.cmake')
-rw-r--r--config/toolchain/GCC.cmake11
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 "")