summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
blob: acbc779ad0e1315597c0ce65d9efe8c177998e13 (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)
add_executable(usbmuxd main.c usb-linux.c log.c utils.c device.c)
target_link_libraries(usbmuxd ${LIBS})