[external] link externals library with the C linker by default (useful for asan)
@@ -133,7 +133,7 @@ if(BUILD_AS_CPP)
set_property(TARGET externals PROPERTY CXX_STANDARD 11)
endif()
else()
- # set_target_properties(${COMPONENT} PROPERTIES LINKER_LANGUAGE C)
+ set_target_properties(${COMPONENT} PROPERTIES LINKER_LANGUAGE C)
if(${CMAKE_VERSION} VERSION_GREATER "3.8.0")
target_compile_features(externals PUBLIC c_std_11)
else()
