CMake Error at target_link_directories.cmake:[0-9]+ \(target_link_directories\): Error evaluating generator expression: \$ \$ may only be used with binary targets to specify group of link libraries. Call Stack \(most recent call first\): CMakeLists.txt:[0-9]+ \(include\)