mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 04:29:52 +00:00
ecd8414757
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)
|