blob: 5572921d0eadbe39a717d19d14a8a106b8254276 [file] [log] [blame]
--- kcoreaddons-5.38.0/CMakeLists.txt.orig 2017-09-16 09:44:47.118870100 +0300
+++ kcoreaddons-5.38.0/CMakeLists.txt 2017-09-16 09:45:24.914031900 +0300
@@ -32,12 +32,14 @@
find_package(Threads)
# Configure checks for kdirwatch
+if (NOT WIN32)
find_package(FAM)
set_package_properties(FAM PROPERTIES
PURPOSE "Provides file alteration notification facilities using a separate service. FAM provides additional support for NFS.")
set(HAVE_FAM ${FAM_FOUND})
+endif()
option(ENABLE_INOTIFY "Try to use inotify for directory monitoring" ON)
if(ENABLE_INOTIFY)