summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-10-19 18:49:33 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-10-19 18:49:33 (GMT)
commit5f99891e6dc59524fb6e43ca96a86df22b403c61 (patch)
tree53a165ebcedf95379341dfbd9b43ca15732e0a5d /config
parent4e575a086553a23fc79d3e92f48eb9508711e6ca (diff)
parent494d39f1c2f6225c732cb857c860d6b475d03226 (diff)
downloadhdf5-5f99891e6dc59524fb6e43ca96a86df22b403c61.zip
hdf5-5f99891e6dc59524fb6e43ca96a86df22b403c61.tar.gz
hdf5-5f99891e6dc59524fb6e43ca96a86df22b403c61.tar.bz2
Merge pull request #1299 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:develop to develop
* commit '494d39f1c2f6225c732cb857c860d6b475d03226': Move options to root cmake file EED-258 Add modules uses toolchain files
Diffstat (limited to 'config')
-rw-r--r--config/GCC.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/GCC.cmake b/config/GCC.cmake
new file mode 100644
index 0000000..ddb1641
--- /dev/null
+++ b/config/GCC.cmake
@@ -0,0 +1,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 "")