CMake Error: Error evaluating generator expression: \$ \$ may only be used with binary targets to specify link options.