0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/x11-packages/nextcloud-client/FindInotify.cmake.patch
2024-04-02 09:54:33 +02:00

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 "")