Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ ecbuild_add_option( FEATURE HEALPIX_EXAMPLES
### Definitions used by the output manager
ecbuild_add_option( FEATURE MULTIO_OUTPUT_MANAGER
DEFAULT ON
CONDITION HAVE_FORTRAN
DESCRIPTION "Build the output manager" )

ecbuild_add_option( FEATURE OUTPUT_MANAGER_ENCODER_REPORT
Expand Down Expand Up @@ -174,6 +175,9 @@ set( MULTIO_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/src ${CMAKE_CURRENT_BINAR
set( MULTIO_LIBRARIES multio )

if ( HAVE_MULTIO_OUTPUT_MANAGER )
if ( NOT eccodes_HAVE_FORTRAN )
ecbuild_critical( "MULTIO_OUTPUT_MANAGER requires eccodes built with ENABLE_FORTRAN=ON" )
endif()
set( BUILD_MULTIOM 1)
else()
set( BUILD_MULTIOM 0)
Expand Down
Loading