diff options
author | Nikias Bassen | 2010-11-26 03:09:41 +0100 |
---|---|---|
committer | Nikias Bassen | 2010-11-26 03:09:41 +0100 |
commit | b38a8ebaebc6a14a1ba17f36e9cb6e5b8e405c6a (patch) | |
tree | 5ea017f4c952cc8d1714bdfa2613b63736cc09f7 /Modules | |
parent | 31cd1980051bfffeda2ef7cac2986548a2e98107 (diff) | |
download | usbmuxd-b38a8ebaebc6a14a1ba17f36e9cb6e5b8e405c6a.tar.gz usbmuxd-b38a8ebaebc6a14a1ba17f36e9cb6e5b8e405c6a.tar.bz2 |
Add inotify cmake detection
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindInotify.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Modules/FindInotify.cmake b/Modules/FindInotify.cmake new file mode 100644 index 0000000..90496d4 --- /dev/null +++ b/Modules/FindInotify.cmake @@ -0,0 +1,11 @@ +set(INOTIFY_H "NOTFOUND") +find_file(INOTIFY_H + "sys/inotify.h" + PATHS ENV INCLUDE +) + +if (INOTIFY_H) + set(INOTIFY_FOUND TRUE) +else() + set(INOTIFY_FOUND FALSE) +endif() |