mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-09 01:56:05 -05:00
48040a3edd
This reverts commit 97fc4bf2da
.
28 lines
408 B
CMake
28 lines
408 B
CMake
project(fcdhid)
|
|
|
|
set(fcdhid_SOURCES
|
|
../custom/apple/apple_compat.c
|
|
fcdhid.c
|
|
)
|
|
|
|
set(fcdhid_HEADERS
|
|
fcdhid.h
|
|
)
|
|
|
|
include_directories(
|
|
${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})
|