Revert "CMake: Replace deprecated module FindPythonInterp"
authorJoão Valverde <j@v6e.pt>
Fri, 26 May 2023 21:44:19 +0000 (22:44 +0100)
committerJoão Valverde <j@v6e.pt>
Fri, 26 May 2023 21:55:47 +0000 (22:55 +0100)
commitf0e4c5262dab59a880a207352fce80a746ec2281
tree91e6370e3ff999ef1d6bbb070a04e0713973e940
parent69327113ef4b2c30cee7398cadd1e4139984381b
Revert "CMake: Replace deprecated module FindPythonInterp"

This reverts commit d6380e7ae40ec53cbd9119e9527546656f82d660.

Turns out we were unwittingly still using FindPythonInterp
instead of FindPython3.cmake, via LocatePythonModule.cmake,
nd this commit actually enabled FindPython3.cmake. Also turns
out FindPython3.cmake is far too clever and very buggy with MSYS2.
It will usually not find the correct python binary and fail in many
suprising ways, depending on which combination of Python Windows
installations is present.
12 files changed:
CMakeLists.txt
cmake/modules/FindAsciidoctor.cmake
cmake/modules/UseAsn2Wrs.cmake
cmake/modules/UseMakePluginReg.cmake
cmake/modules/UseMakeTaps.cmake
docbook/CMakeLists.txt
epan/CMakeLists.txt
epan/dissectors/CMakeLists.txt
epan/wslua/CMakeLists.txt
packaging/nsis/CMakeLists.txt
ui/qt/CMakeLists.txt
wiretap/CMakeLists.txt