sdrangel/fcdhid/CMakeLists.txt

32 wiersze
491 B
CMake
Czysty Zwykły widok Historia

project(fcdhid)
set(fcdhid_SOURCES
2019-05-01 16:19:46 +00:00
../custom/apple/apple_compat.c
hid-libusb.c
fcdhid.c
)
set(fcdhid_HEADERS
2019-05-01 16:19:46 +00:00
../custom/apple/apple_compat.h
fcdhid.h
hid-libusb.h
hidapi.h
)
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
2019-04-15 09:11:15 +00:00
${LIBUSB_INCLUDE_DIR}
${Iconv_INCLUDE_DIR}
)
add_library(fcdhid SHARED
${fcdhid_SOURCES}
)
target_link_libraries(fcdhid
${LIBUSB_LIBRARIES}
${Iconv_LIBRARY}
)
install(TARGETS fcdhid DESTINATION ${INSTALL_LIB_DIR})