summaryrefslogtreecommitdiffstats
path: root/libusbmuxd/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-11-26 03:09:41 +0100
committerGravatar Nikias Bassen2010-11-26 03:09:41 +0100
commitb38a8ebaebc6a14a1ba17f36e9cb6e5b8e405c6a (patch)
tree5ea017f4c952cc8d1714bdfa2613b63736cc09f7 /libusbmuxd/CMakeLists.txt
parent31cd1980051bfffeda2ef7cac2986548a2e98107 (diff)
downloadusbmuxd-b38a8ebaebc6a14a1ba17f36e9cb6e5b8e405c6a.tar.gz
usbmuxd-b38a8ebaebc6a14a1ba17f36e9cb6e5b8e405c6a.tar.bz2
Add inotify cmake detection
Diffstat (limited to 'libusbmuxd/CMakeLists.txt')
-rw-r--r--libusbmuxd/CMakeLists.txt5
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 @@
1include_directories (${CMAKE_SOURCE_DIR}/common) 1include_directories (${CMAKE_SOURCE_DIR}/common)
2find_package(Threads) 2find_package(Threads)
3find_package(Inotify)
4if (INOTIFY_FOUND)
5 add_definitions("-DHAVE_INOTIFY")
6 message("-- libusbmuxd will be built with inotify support")
7endif()
3 8
4add_library (libusbmuxd SHARED libusbmuxd.c sock_stuff.c ${CMAKE_SOURCE_DIR}/common/utils.c) 9add_library (libusbmuxd SHARED libusbmuxd.c sock_stuff.c ${CMAKE_SOURCE_DIR}/common/utils.c)
5find_library (PTHREAD pthread) 10find_library (PTHREAD pthread)