mirror of
https://github.com/reactos/CMake.git
synced 2024-12-05 02:06:34 +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)
|