[PATCH 2/2] CMake: use ${PC_LIBUSB_LIBRARIES} instead of a library name

2023-10-12 Thread yegorslists
From: Yegor Yefremov Patch taken from the Debian package: https://sources.debian.org/src/libftdi1/1.5-6/debian/patches/02-kfreebsd.diff/ --- cmake/FindLibUSB.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindLibUSB.cmake b/cmake/FindLibUSB.cmake index

[PATCH 1/2] CMake: fix multiarch support

2023-10-12 Thread yegorslists
From: Yegor Yefremov Let CMake determine the exact library destination path. Patch taken from the Debian package: https://sources.debian.org/src/libftdi1/1.5-6/debian/patches/01-cmake-multiarch.diff/ --- CMakeLists.txt| 6 +++--- ftdipp/CMakeLists.txt | 6 +++--- src/CMakeLists.txt