1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00
sdrangel/fcdhid/CMakeLists.txt

31 lines
458 B
CMake
Raw Normal View History

project(fcdhid)
set(fcdhid_SOURCES
2019-05-01 12:19:46 -04:00
../custom/apple/apple_compat.c
hid-libusb.c
fcdhid.c
)
set(fcdhid_HEADERS
fcdhid.h
hid-libusb.h
hidapi.h
)
include_directories(
2019-04-15 05:11:15 -04:00
${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})