NonValidTarget-TARGET_PROPERTY-stderr.txt 467 B

1234567891011
  1. CMake Error at NonValidTarget-TARGET_PROPERTY.cmake:1 \(add_custom_command\):
  2. Error evaluating generator expression:
  3. \$<TARGET_PROPERTY:NotAProperty>
  4. \$<TARGET_PROPERTY:prop> may only be used with binary targets. It may not
  5. be used with add_custom_command or add_custom_target. Specify the target
  6. to read a property from using the \$<TARGET_PROPERTY:tgt,prop> signature
  7. instead.
  8. Call Stack \(most recent call first\):
  9. CMakeLists.txt:3 \(include\)