CMake Error at bad-feature2.cmake:[0-9]+ \(add_library\):
  Feature 'feat', specified through generator-expression '\$<LINK_LIBRARY>' to
  link target 'lib', is not defined for the 'C' link language.
Call Stack \(most recent call first\):
  CMakeLists.txt:[0-9]+ \(include\)