1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-07 17:16:02 -05:00
sdrangel/fcdhid/CMakeLists.txt
2016-03-29 09:36:19 +02:00

30 lines
375 B
CMake

project(fcdhid)
set(fcdhid_SOURCES
hid-libusb.c
fcdhid.c
)
set(fcdhid_HEADERS
fcdhid.h
hid-libusb.h
hidapi.h
)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
)
#add_definitions(-DQT_PLUGIN)
add_definitions(-DQT_SHARED)
add_library(fcdhid SHARED
${fcdhid_SOURCES}
)
target_link_libraries(fcdhid
${LIBUSB_LIBRARIES}
)
install(TARGETS fcdhid DESTINATION lib)