1 2 3 4 5 6 7
CMake Error: Error evaluating generator expression: \$<TARGET_FILE:foo> Expressions which require the linker language may not be used while evaluating link libraries