Fix broken metabuilder/ci build (cray)

This commit is contained in:
Shahram Najm 2022-05-21 19:39:33 +01:00
parent ce40ed1344
commit 594918b593
1 changed files with 6 additions and 1 deletions

View File

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