| 1 | Backports |
| 2 | ========= |
| 3 | |
| 4 | These are modules that have been copied near 1:1 from newer CMake modules (3.15.7 at the time of writing) so that there is consistency in usage of these modules on older versions of CMake. |
| 5 | |
| 6 | Unless otherwise stated, the only change has been to change `include` statements from file includes to module includes. |
| 7 | |
| 8 | ## FindGIF |
| 9 | Provides an imported target from 3.14 and later |
| 10 | |
| 11 | ## FindIconv |
| 12 | Introduced in 3.11 |
| 13 | |
| 14 | ## FindJPEG |
| 15 | Provides an imported target from 3.12 and later |
| 16 | |
| 17 | ## FindLibXml2 |
| 18 | Provides an imported target from 3.12 and later |
| 19 | |
| 20 | ## FindPkgConfig |
| 21 | `pkg_check_modules` supports generating imported targets from 3.6 and later |
| 22 | |
| 23 | ## FindPython3 |
| 24 | Introduced in 3.12. Replaces `FindPythonInterp` and `FindPythonLibs`. Provides an imported target. |
| 25 | |
| 26 | Minor changes in `Support.cmake` to not use `VERSION_GREATER_EQUAL` and to set `_Python3_CMAKE_ROLE` to `PROJECT` (as `CMAKE_ROLE` was only introduced with 3.14) |
| 27 | |
| 28 | From 3.15 an later, provides a Python3::Module imported target for use with linking modules. |