1CMP0094 2------- 3 4.. versionadded:: 3.15 5 6Modules :module:`FindPython3`, :module:`FindPython2` and :module:`FindPython` 7use ``LOCATION`` for lookup strategy. 8 9Starting with CMake 3.15, Modules :module:`FindPython3`, :module:`FindPython2` 10and :module:`FindPython` set value ``LOCATION`` for, respectively, variables 11``Python3_FIND_STRATEGY``, ``Python2_FIND_STRATEGY`` and 12``Python_FIND_STRATEGY``. This policy provides compatibility with projects that 13expect the legacy behavior. 14 15The ``OLD`` behavior for this policy set value ``VERSION`` for variables 16``Python3_FIND_STRATEGY``, ``Python2_FIND_STRATEGY`` and 17``Python_FIND_STRATEGY``. 18 19This policy was introduced in CMake version 3.15. Use the 20:command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly. 21Unlike many policies, CMake version |release| does *not* warn 22when this policy is not set and simply uses the ``OLD`` behavior. 23 24.. include:: DEPRECATED.txt 25