blob: 0ab1393864a53db0b660c74210012a148046aa38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-CMakeLists.txt,v 1.3 2022/05/17 17:17:57 jperkin Exp $
Avoid inotify on SunOS.
--- CMakeLists.txt.orig 2022-04-02 10:13:54.000000000 +0000
+++ CMakeLists.txt
@@ -82,7 +82,11 @@ add_definitions(-DKF_DISABLE_DEPRECATED_
find_package(Inotify)
set_package_properties(Inotify PROPERTIES
PURPOSE "Filesystem alteration notifications using inotify")
+if(CMAKE_SYSTEM_NAME MATCHES "SunOS")
+set(BUILD_KINOTIFY 0)
+else()
set(BUILD_KINOTIFY ${Inotify_FOUND})
+endif()
configure_file(config.h.in ${CMAKE_BINARY_DIR}/config.h)
|