blob: 9e4345f9b892f4021214dac0faf273643c928043 (
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 usbmuxd.c usb-linux.c)
target_link_libraries(usbmuxd ${LIBS})
|