1CMP0109 2------- 3 4.. versionadded:: 3.19 5 6:command:`find_program` requires permission to execute but not to read. 7 8In CMake 3.18 and below, the :command:`find_program` command on UNIX 9would find files that are readable without requiring execute permission, 10and would not find files that are executable without read permission. 11In CMake 3.19 and above, ``find_program`` now prefers to require execute 12permission but not read permission. This policy provides compatibility 13with projects that have not been updated to expect the new behavior. 14 15The ``OLD`` behavior for this policy is for ``find_program`` to require 16read permission but not execute permission. 17The ``NEW`` behavior for this policy is for ``find_program`` to require 18execute permission but not read permission. 19 20This policy was introduced in CMake version 3.19. CMake version |release| 21warns when the policy is not set and uses ``OLD`` behavior. Use the 22:command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly. 23 24.. include:: DEPRECATED.txt 25