CMP0109.rst 944 B

123456789101112131415161718192021222324
  1. CMP0109
  2. -------
  3. .. versionadded:: 3.19
  4. :command:`find_program` requires permission to execute but not to read.
  5. In CMake 3.18 and below, the :command:`find_program` command on UNIX
  6. would find files that are readable without requiring execute permission,
  7. and would not find files that are executable without read permission.
  8. In CMake 3.19 and above, ``find_program`` now prefers to require execute
  9. permission but not read permission. This policy provides compatibility
  10. with projects that have not been updated to expect the new behavior.
  11. The ``OLD`` behavior for this policy is for ``find_program`` to require
  12. read permission but not execute permission.
  13. The ``NEW`` behavior for this policy is for ``find_program`` to require
  14. execute permission but not read permission.
  15. .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.19
  16. .. |WARNS_OR_DOES_NOT_WARN| replace:: warns
  17. .. include:: include/STANDARD_ADVICE.rst
  18. .. include:: include/DEPRECATED.rst