From f14fe54d204da8d0938665fb640c949d1f624390 Mon Sep 17 00:00:00 2001 From: Cezary Czaplewski Date: Wed, 9 Sep 2020 22:29:05 +0200 Subject: [PATCH] cmake default -mcmodel=medium --- source/unres/src_MD-M/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/unres/src_MD-M/CMakeLists.txt b/source/unres/src_MD-M/CMakeLists.txt index 6aa6fc6..68da630 100644 --- a/source/unres/src_MD-M/CMakeLists.txt +++ b/source/unres/src_MD-M/CMakeLists.txt @@ -171,6 +171,9 @@ elseif (Fortran_COMPILER_NAME STREQUAL "gfortran") set(FFLAGS1 "-std=legacy -g -I. -mcmodel=medium " ) set(FFLAGS2 "-std=legacy -I. -mcmodel=medium ") set(FFLAGS3 "-std=legacy -I. -mcmodel=medium " ) +else () + set(FFLAGS0 " -mcmodel=medium " ) + set(FFLAGS3 " -mcmodel=medium " ) endif (Fortran_COMPILER_NAME STREQUAL "ifort") -- 1.7.9.5