diff options
Diffstat (limited to 'libusbmuxd')
| -rw-r--r-- | libusbmuxd/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libusbmuxd/CMakeLists.txt b/libusbmuxd/CMakeLists.txt index 2f9a07e..402d726 100644 --- a/libusbmuxd/CMakeLists.txt +++ b/libusbmuxd/CMakeLists.txt | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | include_directories (${CMAKE_SOURCE_DIR}/common) | 1 | include_directories (${CMAKE_SOURCE_DIR}/common) |
| 2 | find_package(Threads) | 2 | find_package(Threads) |
| 3 | find_package(Inotify) | ||
| 4 | if (INOTIFY_FOUND) | ||
| 5 | add_definitions("-DHAVE_INOTIFY") | ||
| 6 | message("-- libusbmuxd will be built with inotify support") | ||
| 7 | endif() | ||
| 3 | 8 | ||
| 4 | add_library (libusbmuxd SHARED libusbmuxd.c sock_stuff.c ${CMAKE_SOURCE_DIR}/common/utils.c) | 9 | add_library (libusbmuxd SHARED libusbmuxd.c sock_stuff.c ${CMAKE_SOURCE_DIR}/common/utils.c) |
| 5 | find_library (PTHREAD pthread) | 10 | find_library (PTHREAD pthread) |
