summaryrefslogtreecommitdiff
path: root/Modules/Platform/Windows-GNU-Fortran.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/Windows-GNU-Fortran.cmake')
-rw-r--r--Modules/Platform/Windows-GNU-Fortran.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-GNU-Fortran.cmake b/Modules/Platform/Windows-GNU-Fortran.cmake
new file mode 100644
index 000000000..b81b79679
--- /dev/null
+++ b/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)