Files
termux-packages/x11-packages/nextcloud-client/FindInotify.cmake.patch
2025-11-14 23:27:31 +00:00

19 lines
598 B
Diff

diff -uNr a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt 2025-10-27 21:28:23.000000000 +0530
+++ b/CMakeLists.txt 2025-11-11 20:33:54.536726978 +0530
@@ -249,7 +249,13 @@
endif()
if(UNIX AND NOT APPLE)
- find_package(Inotify REQUIRED)
+ if(CMAKE_SYSTEM_NAME MATCHES "Android")
+ set(Inotify_FOUND TRUE)
+ set(Inotify_LIBRARIES "")
+ set(Inotify_INCLUDE_DIRS "")
+ else()
+ find_package(Inotify REQUIRED)
+ endif()
endif()
find_package(OpenSSL 1.1 REQUIRED )
find_package(PkgConfig REQUIRED)