summaryrefslogtreecommitdiffstats
path: root/usbmuxd/CMakeLists.txt
blob: 8d22ef6e9c48e6b3a41605436c3af0000ee47a48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PROJECT(usbmuxd)

cmake_minimum_required(VERSION 2.6)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/Modules/")

find_package(USB REQUIRED)
include_directories(${USB_INCLUDE_DIRS})
set(LIBS ${LIBS} ${USB_LIBRARIES})

#set(CMAKE_VERBOSE_MAKEFILE ON)

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})