CMake Generator Error for Unix Makefiles - Would like a Solution.

CMake’s include_directories() command does that (as does target_include_directories which is the preferred one). However, the value must be known when CMake runs; you cannot defer expansion of the variable until build time.