summaryrefslogtreecommitdiff
path: root/share/cmake-3.10/Modules/Platform/Windows-GNU-Fortran.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.10/Modules/Platform/Windows-GNU-Fortran.cmake')
-rw-r--r--share/cmake-3.10/Modules/Platform/Windows-GNU-Fortran.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/cmake-3.10/Modules/Platform/Windows-GNU-Fortran.cmake b/share/cmake-3.10/Modules/Platform/Windows-GNU-Fortran.cmake
new file mode 100644
index 0000000..b81b796
--- /dev/null
+++ b/share/cmake-3.10/Modules/Platform/Windows-GNU-Fortran.cmake
@@ -0,0 +1,5 @@
+include(Platform/Windows-GNU)
+__windows_compiler_gnu(Fortran)
+
+# gfortran on 64-bit MinGW defines __SIZEOF_POINTER__
+set(CMAKE_Fortran_SIZEOF_DATA_PTR_DEFAULT 4)