CMake Error in CMakeLists.txt:
  Target "foo" INTERFACE_INCLUDE_DIRECTORIES property contains path:

    ".*/Tests/RunCMake/CMP0041/include/\$<TARGET_PROPERTY:NAME>"

  which is prefixed in the source directory.


CMake Error in CMakeLists.txt:
  Target "foo" INTERFACE_INCLUDE_DIRECTORIES property contains path:

    ".*/Tests/RunCMake/CMP0041/include/\$<TARGET_PROPERTY:NAME>"

  which is prefixed in the source directory.


CMake Error in CMakeLists.txt:
  Target "foo" INTERFACE_INCLUDE_DIRECTORIES property contains path:

    ".*/Tests/RunCMake/CMP0041/CMP0041-tid-NEW-build/include/\$<TARGET_PROPERTY:NAME>"

  which is prefixed in the build directory.