CMP0094 — CMake 4.0.1 Documentation (original) (raw)
Added in version 3.15.
Modules FindPython3, FindPython2 and FindPythonuse LOCATION
for lookup strategy.
Starting with CMake 3.15, Modules FindPython3, FindPython2and FindPython set value LOCATION
for, respectively, variablesPython3_FIND_STRATEGY
, Python2_FIND_STRATEGY
andPython_FIND_STRATEGY
. This policy provides compatibility with projects that expect the legacy behavior.
The OLD
behavior for this policy set value VERSION
for variablesPython3_FIND_STRATEGY
, Python2_FIND_STRATEGY
andPython_FIND_STRATEGY
.
This policy was introduced in CMake version 3.15. It may be set by cmake_policy() or cmake_minimum_required(). If it is not set, CMake does not warn, and uses OLD
behavior.