mirror of https://github.com/ecmwf/eccodes.git
Fix broken metabuilder/ci build (cray)
This commit is contained in:
parent
ce40ed1344
commit
594918b593
|
@ -19,7 +19,12 @@ if( EC_OS_NAME MATCHES "windows" )
|
|||
endif()
|
||||
|
||||
if( HAVE_EXPERIMENTAL_BUILD_WITH_CXX )
|
||||
set_source_files_properties(${ecc_tools_sources} PROPERTIES LANGUAGE CXX)
|
||||
foreach( _src ${ecc_tools_sources} )
|
||||
get_filename_component( _ext ${_src} EXT )
|
||||
if( _ext STREQUAL ".c" )
|
||||
set_source_files_properties(${_src} PROPERTIES LANGUAGE CXX)
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
# tools library
|
||||
|
|
Loading…
Reference in New Issue