CMP0152.rst 675 B

123456789101112131415161718192021
  1. CMP0152
  2. -------
  3. .. versionadded:: 3.28
  4. :command:`file(REAL_PATH)` resolves symlinks before collapsing ../ components.
  5. In CMake 3.27 and below, :command:`file(REAL_PATH)` collapsed any ``../``
  6. components in a path before resolving symlinks. This produced incorrect
  7. results when the ``../`` collapsed away a symlink.
  8. The ``OLD`` behavior for this policy is to collapse ``../`` components before
  9. resolving symlinks.
  10. The ``NEW`` behavior for this policy is to resolve all symlinks before
  11. collapsing ``../`` components.
  12. .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.28
  13. .. |WARNS_OR_DOES_NOT_WARN| replace:: warns
  14. .. include:: STANDARD_ADVICE.txt
  15. .. include:: DEPRECATED.txt