ECC-301: Copy all mod files to include

This commit is contained in:
Shahram Najm 2016-07-20 16:39:12 +01:00
parent 4172ae8b19
commit 6e7d5f3f3f
1 changed files with 1 additions and 0 deletions

View File

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