package/libftdi1: fix python support
authorYegor Yefremov <yegorslists@googlemail.com>
Thu, 6 Feb 2020 09:54:21 +0000 (10:54 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 7 Feb 2020 14:54:02 +0000 (15:54 +0100)
commitdf734533cfeab86951436b6d0e19e8294e271b35
tree3f51f2f064fbfc652cd6c7420d86a10ec56c0b06
parente5e84823bbfef69504511cb32741432c7b834707
package/libftdi1: fix python support

Add an upstreamed patch that reorders find_package() commands.
This way Python interpreter will be detected first and based on
it the Python libraries can be found.

Fixes the following CMake error:

Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libftdi1/0004-CMake-reorder-Python-detection.patch [new file with mode: 0644]