diff options
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() |