mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-15 21:01:45 -05:00
f61d1c3908
plugins that need that: - remotesink - remotesource
31 lines
458 B
CMake
31 lines
458 B
CMake
project(fcdhid)
|
|
|
|
set(fcdhid_SOURCES
|
|
../custom/apple/apple_compat.c
|
|
hid-libusb.c
|
|
fcdhid.c
|
|
)
|
|
|
|
set(fcdhid_HEADERS
|
|
fcdhid.h
|
|
hid-libusb.h
|
|
hidapi.h
|
|
)
|
|
|
|
include_directories(
|
|
${LIBUSB_INCLUDE_DIR}
|
|
${ICONV_INCLUDE_DIR}
|
|
${CUSTOM_APPLE_INCLUDE}
|
|
)
|
|
|
|
add_library(fcdhid SHARED
|
|
${fcdhid_SOURCES}
|
|
)
|
|
|
|
target_link_libraries(fcdhid
|
|
${LIBUSB_LIBRARIES}
|
|
${ICONV_LIBRARY}
|
|
)
|
|
|
|
install(TARGETS fcdhid DESTINATION ${INSTALL_LIB_DIR})
|