From 6e7d5f3f3fa72651ebb0a7f4c418c3e6c5439c20 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Wed, 20 Jul 2016 16:39:12 +0100 Subject: [PATCH] ECC-301: Copy all mod files to include --- fortran/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/fortran/CMakeLists.txt b/fortran/CMakeLists.txt index f516fd02f..0aa962fda 100644 --- a/fortran/CMakeLists.txt +++ b/fortran/CMakeLists.txt @@ -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