blob: 61de1a8b71d0dbc8efc78e5717eaf0495b7cddbb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
add_library (libusbmuxd libusbmuxd.c sock_stuff.c)
# 'lib' is a UNIXism, the proper CMake target is usbmuxd
# But we can't use that due to the conflict with the usbmuxd daemon,
# so instead change the library output base name to usbmuxd here
set_target_properties(libusbmuxd PROPERTIES OUTPUT_NAME usbmuxd)
install(TARGETS libusbmuxd
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib
)
install(FILES usbmuxd.h usbmuxd-proto.h DESTINATION include)
|