mirror of
https://github.com/reactos/CMake.git
synced 2025-02-21 04:11:03 +00:00

Use __SIZEOF_POINTER__ which the GNU Fortran compiler defines at least on 64-bit MinGW. Assume default size 4 on MinGW if gfortran does not define the size.
6 lines
162 B
CMake
6 lines
162 B
CMake
include(Platform/Windows-GNU)
|
|
__windows_compiler_gnu(Fortran)
|
|
|
|
# gfortran on 64-bit MinGW defines __SIZEOF_POINTER__
|
|
set(CMAKE_Fortran_SIZEOF_DATA_PTR_DEFAULT 4)
|