diff options
Diffstat (limited to 'libusbmuxd/CMakeLists.txt')
| -rw-r--r-- | libusbmuxd/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libusbmuxd/CMakeLists.txt b/libusbmuxd/CMakeLists.txt new file mode 100644 index 0000000..61de1a8 --- /dev/null +++ b/libusbmuxd/CMakeLists.txt | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | add_library (libusbmuxd libusbmuxd.c sock_stuff.c) | ||
| 2 | |||
| 3 | # 'lib' is a UNIXism, the proper CMake target is usbmuxd | ||
| 4 | # But we can't use that due to the conflict with the usbmuxd daemon, | ||
| 5 | # so instead change the library output base name to usbmuxd here | ||
| 6 | set_target_properties(libusbmuxd PROPERTIES OUTPUT_NAME usbmuxd) | ||
| 7 | |||
| 8 | install(TARGETS libusbmuxd | ||
| 9 | ARCHIVE DESTINATION lib | ||
| 10 | LIBRARY DESTINATION lib | ||
| 11 | ) | ||
| 12 | install(FILES usbmuxd.h usbmuxd-proto.h DESTINATION include) | ||
