DEPRECATED_POLICY_VERSIONS.txt 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. .. versionchanged:: 4.0
  2. Compatibility with versions of CMake older than 3.5 is removed.
  3. Calls to :command:`cmake_minimum_required(VERSION)` or
  4. :command:`cmake_policy(VERSION)` that do not specify at least
  5. 3.5 as their policy version (optionally via ``...<max>``)
  6. will produce an error in CMake 4.0 and above.
  7. .. versionchanged:: 3.31
  8. Compatibility with versions of CMake older than 3.10 is deprecated.
  9. Calls to :command:`cmake_minimum_required(VERSION)` or
  10. :command:`cmake_policy(VERSION)` that do not specify at least
  11. 3.10 as their policy version (optionally via ``...<max>``)
  12. will produce a deprecation warning in CMake 3.31 and above.
  13. .. versionchanged:: 3.27
  14. Compatibility with versions of CMake older than 3.5 is deprecated.
  15. Calls to :command:`cmake_minimum_required(VERSION)` or
  16. :command:`cmake_policy(VERSION)` that do not specify at least
  17. 3.5 as their policy version (optionally via ``...<max>``)
  18. will produce a deprecation warning in CMake 3.27 and above.
  19. .. versionchanged:: 3.19
  20. Compatibility with versions of CMake older than 2.8.12 is deprecated.
  21. Calls to :command:`cmake_minimum_required(VERSION)` or
  22. :command:`cmake_policy(VERSION)` that do not specify at least
  23. 2.8.12 as their policy version (optionally via ``...<max>``)
  24. will produce a deprecation warning in CMake 3.19 and above.