summaryrefslogtreecommitdiffstats
path: root/usbmuxd/CMakeLists.txt
blob: b982dc0a442c3042a3c22f4277149bef13922001 (plain)
1
2
3
4
5
6
7
8
9
find_package(USB REQUIRED)
include_directories(${USB_INCLUDE_DIRS})
set(LIBS ${LIBS} ${USB_LIBRARIES})

add_definitions(-Wall -O2 -g)
add_executable(usbmuxd main.c usb-linux.c log.c utils.c device.c client.c)
target_link_libraries(usbmuxd ${LIBS})

install(TARGETS usbmuxd RUNTIME DESTINATION sbin)