support for cmake

This commit is contained in:
Dave Goodwin 2007-05-12 14:42:15 +00:00
parent 7f570c79ca
commit a5ddeea733

14
cmake/fortran.cmake Normal file
View file

@ -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)