CMake Error at add_custom_command.cmake:2 \(add_custom_command\): Error evaluating generator expression: \$ \$ may only be used to specify include directories, compile definitions, compile options, and to evaluate components of the file\(GENERATE\) command. Call Stack \(most recent call first\): CMakeLists.txt:3 \(include\)