Merge pull request #2519 from martin-frbg/issue2472
Fix cmake compilation with ifort on Windows
This commit is contained in:
commit
7ae737e04c
|
@ -76,8 +76,11 @@ if (${F_COMPILER} STREQUAL "GFORTRAN")
|
|||
endif ()
|
||||
endif ()
|
||||
|
||||
if (${F_COMPILER} STREQUAL "INTEL")
|
||||
if (${F_COMPILER} STREQUAL "IFORT")
|
||||
set(CCOMMON_OPT "${CCOMMON_OPT} -DF_INTERFACE_INTEL")
|
||||
if (MSVC)
|
||||
set(FCOMMON_OPT "${FCOMMON_OPT} -names:lowercase -assume:underscore")
|
||||
endif ()
|
||||
if (INTERFACE64)
|
||||
set(FCOMMON_OPT "${FCOMMON_OPT} -i8")
|
||||
endif ()
|
||||
|
|
Loading…
Reference in New Issue