Skip to content

Commit

Permalink
Install Fortran modules. (TEOS-10#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
DJDavies2 authored and aerorahul committed Jun 19, 2019
1 parent ac15929 commit cb11b14
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ ecbuild_add_library( TARGET gsw
LINKER_LANGUAGE ${GSW_LINKER_LANGUAGE}
)

if(ECBUILD_INSTALL_FORTRAN_MODULES)
install(DIRECTORY ${CMAKE_Fortran_MODULE_DIRECTORY}/${CMAKE_CFG_INTDIR} DESTINATION ${INSTALL_INCLUDE_DIR} )
endif()

################################################################################
# Finalise configuration
################################################################################
Expand Down

0 comments on commit cb11b14

Please sign in to comment.