1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 17:58:43 -05:00
sdrangel/fcdhid/CMakeLists.txt
Ziga S 08602c661b Updated CMake files for QTEditor cmake style.
AudioOutput had previously stalled, mutex temporary removed(Q&D workaround, need for study OSX Audio Concurency).
Removed some part of code in DemodBFM for OSX compilations.
Code runs and was tested with HackRF.
Note: There is need have investigate two potencial problems(DemodBFM bug and AudioOutput deadlocking?).
2016-06-29 10:10:24 +02:00

34 lines
441 B
CMake

project(fcdhid)
set(fcdhid_SOURCES
../apple_compat.c
hid-libusb.c
fcdhid.c
)
set(fcdhid_HEADERS
../apple_compat.h
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}
${ICONV_LIBRARY}
)
install(TARGETS fcdhid DESTINATION lib)