Wireshark-commits: [Wireshark-commits] master 3cc0cfc: CMake: try harder to find the right Python v
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3cc0cfc48cb1c66612b69d9c6b07126412d2a069
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
3cc0cfc by Peter Wu (peter@xxxxxxxxxxxxx):
CMake: try harder to find the right Python version
The FindPythonInterp module does not verify that a discovered 'python'
program is actually Python 3. Replace this deprecated module by a modern
version that was introduced with CMake 3.12.
Remove PYTHON_EXECUTABLE from WSDG now that it is much more likely that
CMake discovers the right version.
Change-Id: I1f8438baced3d5bf9e1e2732980ad177d3257ca3
Reviewed-on: https://code.wireshark.org/review/31468
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 1243976 Move make-version.pl to tools.
add 3cc0cfc CMake: try harder to find the right Python version
Summary of changes:
CMakeLists.txt | 16 ++++++++++++++--
cmake/modules/LocatePythonModule.cmake | 4 +++-
docbook/wsdg_src/WSDG_chapter_tools.asciidoc | 3 ---
3 files changed, 17 insertions(+), 6 deletions(-)