add missing with in name-mangling if statements
@@ -752,27 +752,27 @@ IF(F77SCHEME_FOUND)
ENDIF()
# Symbols with underscores
- IF(${CMAKE_Fortran_SCHEME_UNDERSCORES} MATCHES "my_sub")
+ IF(${CMAKE_Fortran_SCHEME_WITH_UNDERSCORES} MATCHES "my_sub")
SET(F77_MANGLE_MACRO2 "#define SUNDIALS_F77_FUNC_(name,NAME) name")
ENDIF()
- IF(${CMAKE_Fortran_SCHEME_UNDERSCORES} MATCHES "my_sub_")
+ IF(${CMAKE_Fortran_SCHEME_WITH_UNDERSCORES} MATCHES "my_sub_")
SET(F77_MANGLE_MACRO2 "#define SUNDIALS_F77_FUNC_(name,NAME) name ## _")
ENDIF()
- IF(${CMAKE_Fortran_SCHEME_UNDERSCORES} MATCHES "my_sub__")
+ IF(${CMAKE_Fortran_SCHEME_WITH_UNDERSCORES} MATCHES "my_sub__")
SET(F77_MANGLE_MACRO2 "#define SUNDIALS_F77_FUNC_(name,NAME) name ## __")
ENDIF()
- IF(${CMAKE_Fortran_SCHEME_UNDERSCORES} MATCHES "MY_SUB")
+ IF(${CMAKE_Fortran_SCHEME_WITH_UNDERSCORES} MATCHES "MY_SUB")
SET(F77_MANGLE_MACRO2 "#define SUNDIALS_F77_FUNC_(name,NAME) NAME")
ENDIF()
- IF(${CMAKE_Fortran_SCHEME_UNDERSCORES} MATCHES "MY_SUB_")
+ IF(${CMAKE_Fortran_SCHEME_WITH_UNDERSCORES} MATCHES "MY_SUB_")
SET(F77_MANGLE_MACRO2 "#define SUNDIALS_F77_FUNC_(name,NAME) NAME ## _")
ENDIF()
- IF(${CMAKE_Fortran_SCHEME_UNDERSCORES} MATCHES "MY_SUB__")
+ IF(${CMAKE_Fortran_SCHEME_WITH_UNDERSCORES} MATCHES "MY_SUB__")
SET(F77_MANGLE_MACRO2 "#define SUNDIALS_F77_FUNC_(name,NAME) NAME ## __")
ENDIF()
