diff --git a/cmake/fortran.cmake b/cmake/fortran.cmake new file mode 100644 index 000000000..413a56f59 --- /dev/null +++ b/cmake/fortran.cmake @@ -0,0 +1,14 @@ +#### Cantera Fortran configuration file + +#if (NOT BUILD_WITH_F2C) + +#### Fortran 90 + +if (BUILD_F90_INTERFACE) + if (F90 STREQUAL "default") + FIND_LIBRARY(GFORTRAN_LIB gfortran ${F90_LIB_DIR} /usr/local/lib) + IF (GFORTRAN_LIB) + MESSAGE("${GFORTRAN_LIB}") + ENDIF (GFORTRAN_LIB) + endif (F90 STREQUAL "default") +endif (BUILD_F90_INTERFACE)