mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Statically link libftdi1
This commit is contained in:
parent
7e5b87bbdc
commit
18b7df52e9
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user