Commit 33d4eca
authored
i#3544 RV64: Replace usage of FindPythonInterp with FindPython3 in CMake (DynamoRIO#7488)
A Python 3 interpreter is required to generate instruction codecs for
RV64. Previously we make use of CMake's FindPythonInterp to search for
one, but the module has been deprecated in CMake since 3.12.
This patch replaces its usage with FindPython3 introduced in CMake 3.12,
which is fine since the minimum required CMake version of DynamoRIO has
been raised to 3.14. This fixes warnings about CMP0148 introduced since
CMake 3.27.
Issue: DynamoRIO#35441 parent d746e04 commit 33d4eca
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 33 | + | |
38 | 34 | | |
39 | 35 | | |
40 | 36 | | |
| |||
80 | 76 | | |
81 | 77 | | |
82 | 78 | | |
83 | | - | |
| 79 | + | |
84 | 80 | | |
85 | 81 | | |
86 | 82 | | |
| |||
0 commit comments