cmake: fix building static lib on windows/msvc
authorShawn Hoffman <business@symbrkrs.com>
Wed, 10 Apr 2024 14:15:49 +0000 (07:15 -0700)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 12 Jun 2025 20:16:40 +0000 (22:16 +0200)
commit5e67403c4fb5536a2effe2e91181dd73a2cff91b
treee8e8da219593d1bbbb81a26410f8c48142de4e32
parent2e714eec137f86ca1950457d8226d8cb9b71c495
cmake: fix building static lib on windows/msvc

include(GNUInstallDirs) is required to populate CMAKE_INSTALL_LIBDIR

[TJ: Patch partially applied: Dropped the lib rename part from ftdi1.a to ftdi1-static]
CMakeLists.txt