CMake Warning in CMakeLists.txt:
  Policy CMP0041 is not set: Error on relative include with generator
  expression.  Run "cmake --help-policy CMP0041" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "foo" INTERFACE_INCLUDE_DIRECTORIES property contains relative path:

    "include/\$<TARGET_PROPERTY:NAME>"


CMake Warning in CMakeLists.txt:
  Policy CMP0041 is not set: Error on relative include with generator
  expression.  Run "cmake --help-policy CMP0041" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "foo" INTERFACE_INCLUDE_DIRECTORIES property contains path:

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

  which is prefixed in the source directory.


CMake Warning in CMakeLists.txt:
  Policy CMP0041 is not set: Error on relative include with generator
  expression.  Run "cmake --help-policy CMP0041" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "foo" INTERFACE_INCLUDE_DIRECTORIES property contains path:

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

  which is prefixed in the build directory.