NonValidTarget-TARGET_POLICY-stderr.txt 350 B

123456789
  1. CMake Error at NonValidTarget-TARGET_POLICY.cmake:1 \(add_custom_command\):
  2. Error evaluating generator expression:
  3. \$<TARGET_POLICY:CMP0004>
  4. \$<TARGET_POLICY:prop> may only be used with binary targets. It may not be
  5. used with add_custom_command or add_custom_target.
  6. Call Stack \(most recent call first\):
  7. CMakeLists.txt:3 \(include\)