mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 14:56:16 +00:00
12 lines
504 B
Diff
12 lines
504 B
Diff
--- a/cmake/modules/FindInotify.cmake
|
|
+++ b/cmake/modules/FindInotify.cmake
|
|
@@ -34,7 +34,7 @@ find_path(Inotify_INCLUDE_DIRS sys/inotify.h)
|
|
if(Inotify_INCLUDE_DIRS)
|
|
# On Linux there is no library to link against, on the BSDs there is.
|
|
# On the BSD's, inotify is implemented through a library, libinotify.
|
|
- if( CMAKE_SYSTEM_NAME MATCHES "Linux")
|
|
+ if( CMAKE_SYSTEM_NAME MATCHES "Android")
|
|
set(Inotify_FOUND TRUE)
|
|
set(Inotify_LIBRARIES "")
|
|
set(Inotify_INCLUDE_DIRS "")
|