Make ifort on Windows create lowercase symbols with appended underscore
tentative fix for
@@ -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 ()
