CMake: fix multiarch support
authorYegor Yefremov <yegorslists@googlemail.com>
Thu, 12 Oct 2023 07:11:12 +0000 (09:11 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 18 Oct 2023 15:29:32 +0000 (17:29 +0200)
commit3c7141a77b6caa55375ad77239d8716c5f371f5d
tree24517e3c5e0c36be9a8c86501b8489974fbe0839
parente7f734f82c69aea10f1f9bde57f228339fcb56f3
CMake: fix multiarch support

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
ftdipp/CMakeLists.txt
src/CMakeLists.txt