support for cmake
This commit is contained in:
parent
7f570c79ca
commit
a5ddeea733
1 changed files with 14 additions and 0 deletions
14
cmake/fortran.cmake
Normal file
14
cmake/fortran.cmake
Normal 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)
|
||||
Loading…
Add table
Reference in a new issue