Files
avrdude/CMakeLists.txt
Thomas Petazzoni 5307a62d25 CMakeLists.txt: allow disabling Python support (#2051)
* CMakeLists.txt: allow disabling Python support

In some cases, even if Swig is found and Python3 is found, it may not
be desirable to build Python support in avrdude, so this commit adds
a FORCE_DISABLE_PYTHON_SUPPORTT option to be able to explicitly 
disable the Python support.

To preserve existing behavior, this option defaults to disabled (OFF).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Co-authored-by: Xiaofan Chen <xiaofanc@gmail.com>
2026-05-03 20:43:48 +08:00

16 KiB