CMake Error at NonValidTarget-COMPILER_LINKER\.cmake:[0-9]+ \(add_custom_command\):
  Error evaluating generator expression:

    \$<Fortran_COMPILER_LINKER_ID>

  \$<Fortran_COMPILER_LINKER_ID> may only be used with binary targets\.  It may
  not be used with add_custom_command or add_custom_target\.
Call Stack \(most recent call first\):
  CMakeLists\.txt:[0-9]+ \(include\)
