mirror of https://github.com/ecmwf/eccodes.git
ECC-301: Copy all mod files to include
This commit is contained in:
parent
4172ae8b19
commit
6e7d5f3f3f
|
@ -47,6 +47,7 @@ if( HAVE_FORTRAN )
|
|||
add_custom_command( TARGET eccodes_f90 POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/include
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_Fortran_MODULE_DIRECTORY}/${CMAKE_CFG_INTDIR}/eccodes.mod ${CMAKE_BINARY_DIR}/include
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_Fortran_MODULE_DIRECTORY}/${CMAKE_CFG_INTDIR}/grib_api.mod ${CMAKE_BINARY_DIR}/include
|
||||
)
|
||||
|
||||
# Add the eccodes module file as well
|
||||
|
|
Loading…
Reference in New Issue