From 18b7df52e9fb521fc021cc0d47a5df0c27fe2d52 Mon Sep 17 00:00:00 2001 From: LordGrey Date: Sun, 26 Mar 2023 15:26:34 +0000 Subject: [PATCH] Statically link libftdi1 --- libsrc/leddevice/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/leddevice/CMakeLists.txt b/libsrc/leddevice/CMakeLists.txt index 0f7f245e..b185bf7e 100644 --- a/libsrc/leddevice/CMakeLists.txt +++ b/libsrc/leddevice/CMakeLists.txt @@ -173,7 +173,7 @@ endif() if( ENABLE_FTDIDEV ) FIND_PACKAGE(PkgConfig REQUIRED) pkg_check_modules(LIB_FTDI REQUIRED libftdi1) - add_library(libftdi1 SHARED IMPORTED) + add_library(libftdi1 STATIC IMPORTED) target_include_directories(leddevice PUBLIC ${LIB_FTDI_INCLUDE_DIRS}) target_link_libraries(leddevice ${LIB_FTDI_LINK_LIBRARIES}) endif()