libftdi Archives

Subject: Re: [PATCH] python/CMakeLists.txt: rework Python development files detection

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: yegorslists@xxxxxxxxxxxxxx
Cc: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 30 Jun 2025 13:39:45 +0200
Hi Yegor,

You wrote on Mon, Jun 23, 2025 at 02:44:13PM +0200:
> From: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>
> 
> Both the FindPythonInterp and FindPythonLibs modules were removed. Use
> find_package(Python3 COMPONENTS Interpreter Development) to find both
> the interpreter and the library.
> 
> Resolves the following warning:
> 
> CMake Warning (dev) at python/CMakeLists.txt:11 (find_package):
>   Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
>   are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
>   the cmake_policy command to set the policy and suppress this warning.

applied, thanks!

I've added the following small comment to the commit message:

"The old modules have been deprecated since CMake 3.12".

Cheers,
Thomas

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread