kdesupport/strigi/strigidaemon

Raphael Kubo da Costa kubito at gmail.com
Sun Mar 21 20:20:43 CET 2010


SVN commit 1106059 by rkcosta:

Since there's no check for the real presence of inotify and it's only available on Linux,
make it off by default and enable it if we're being built on Linux.

CCMAIL: jos at vandenoever.info
CCMAIL: kde-buildsystem at kde.org


 M  +5 -1      CMakeLists.txt  


--- trunk/kdesupport/strigi/strigidaemon/CMakeLists.txt #1106058:1106059
@@ -20,11 +20,15 @@
 set(CMAKE_INSTALL_RPATH                ${LIB_DESTINATION} )
 
 option(ENABLE_DBUS "enable dbus support in the daemon" ON)
-option(ENABLE_INOTIFY "enable monitoring the filesystem with inotify" ON)
+option(ENABLE_INOTIFY "enable monitoring the filesystem with inotify" OFF)
 option(ENABLE_FAM "enable monitoring the filesystem with FAM" ON)
 option(ENABLE_POLLING "enable monitoring the filesystem via polling" ON)
 option(ENABLE_LOG4CXX "enable use of the logging framework Log4CXX" ON)
 
+if(CMAKE_SYSTEM MATCHES "Linux")
+    set(ENABLE_INOTIFY ON)
+endif(CMAKE_SYSTEM MATCHES "Linux")
+
 # definition of LIB_DESTINATION which is the path where the lib is installed
 set (LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" )
 set (LIB_DESTINATION "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE STRING "Library directory name" FORCE)


More information about the Kde-buildsystem mailing list