Commit 2e10489
cmake: Switch to using FindPython3 CMake module
The FindPythonLib CMake module is deprecated since CMake 3.12 and starting
with CMake 3.27 the module is not provided unless CMP0148 is set to OLD.
To integrate PythonQt in other project, the CMake variables `Python3_LIBRARY`
and `Python3_INCLUDE_DIR` may be set instead of `PYTHON_LIBRARY`, `PYTHON_INCLUDE_DIR`
and `PYTHON_INCLUDE_DIR2`.
Options `Python3_ROOT_DIR`, `Python3_LIBRARY_DEBUG` and `Python3_LIBRARY_RELEASE`
may also be set.
Co-authored-by: Hans Johnson <hans-johnson@uiowa.edu>1 parent a06279f commit 2e10489
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| |||
304 | 303 | | |
305 | 304 | | |
306 | 305 | | |
307 | | - | |
| 306 | + | |
308 | 307 | | |
309 | 308 | | |
310 | 309 | | |
| |||
0 commit comments