CMake Error at TARGET_INTERMEDIATE_DIR-not-a-target\.cmake:1 \(file\):
  Error evaluating generator expression:

    \$<TARGET_INTERMEDIATE_DIR:bar>

  Target \"bar\" not found\.
Call Stack \(most recent call first\):
  CMakeLists\.txt:[0-9]+ \(include\)
