CMake Error at COMPILE_LANGUAGE-target_sources.cmake:5 \(target_sources\): 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\)