CMP0009.rst 860 B

123456789101112131415161718192021
  1. CMP0009
  2. -------
  3. FILE GLOB_RECURSE calls should not follow symlinks by default.
  4. In CMake 2.6.1 and below, FILE GLOB_RECURSE calls would follow through
  5. symlinks, sometimes coming up with unexpectedly large result sets
  6. because of symlinks to top level directories that contain hundreds of
  7. thousands of files.
  8. This policy determines whether or not to follow symlinks encountered
  9. during a FILE GLOB_RECURSE call. The OLD behavior for this policy is
  10. to follow the symlinks. The NEW behavior for this policy is not to
  11. follow the symlinks by default, but only if FOLLOW_SYMLINKS is given
  12. as an additional argument to the FILE command.
  13. This policy was introduced in CMake version 2.6.2. CMake version
  14. |release| warns when the policy is not set and uses OLD behavior. Use
  15. the cmake_policy command to set it to OLD or NEW explicitly.
  16. .. include:: DEPRECATED.txt