CMake Error at subdir2/CMakeLists.txt:2 \(include\):
  Policy CMP0024 is not set: Disallow include export result.  Run "cmake
  --help-policy CMP0024" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  The file

    .*/Tests/RunCMake/include/CMP0024-NEW-build/subdir1/theTargets.cmake

  was generated by the export\(\) command.  It may not be used as the argument
  to the include\(\) command.  Use ALIAS targets instead to refer to targets by
  alternative names.