1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-17 22:01:45 -05:00
sdrangel/fcdhid/CMakeLists.txt

30 lines
453 B
CMake
Raw Normal View History

project(fcdhid)
set(fcdhid_SOURCES
2022-03-05 06:04:27 -05:00
../custom/apple/apple_compat.c
fcdhid.c
)
set(fcdhid_HEADERS
2022-03-05 06:04:27 -05:00
fcdhid.h
)
include_directories(
2022-03-05 06:04:27 -05:00
${LIBUSB_INCLUDE_DIR}
${HIDAPI_INCLUDE_DIRS}
2022-03-05 06:04:27 -05:00
${ICONV_INCLUDE_DIR}
${CUSTOM_APPLE_INCLUDE}
)
add_library(fcdhid SHARED
2022-03-05 06:04:27 -05:00
${fcdhid_SOURCES}
)
target_link_libraries(fcdhid
2022-03-05 06:04:27 -05:00
${LIBUSB_LIBRARIES}
${HIDAPI_LIBRARIES}
2022-03-05 06:04:27 -05:00
${ICONV_LIBRARY}
)
install(TARGETS fcdhid DESTINATION ${INSTALL_LIB_DIR})