CMake Error at NonValidTarget-TARGET_POLICY.cmake:1 \(add_custom_command\): | |
Error evaluating generator expression: | |
\$<TARGET_POLICY:CMP0004> | |
\$<TARGET_POLICY:prop> 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:3 \(include\) |