CMake Error:
  Error evaluating generator expression:

    \$<TARGET_PROPERTY:foo>

  \$<TARGET_PROPERTY:prop> may only be used with binary targets.  It may not
  be used with add_custom_command or add_custom_target.  Specify the target
  to read a property from using the \$<TARGET_PROPERTY:tgt,prop> signature
  instead.


CMake Generate step failed.  Build files cannot be regenerated correctly.
