Index: desktop-2.5.0/cmake/modules/FindINotify.cmake =================================================================== --- desktop-2.5.0/cmake/modules/FindINotify.cmake +++ desktop-2.5.0/cmake/modules/FindINotify.cmake 2018-11-28 21:41:33.987283674 +0100 @@ -13,7 +13,7 @@ PATH_SUFFIXES inotify) mark_as_advanced(INOTIFY_INCLUDE_DIR) -find_library(INOTIFY_LIBRARY inotify PATH_SUFFIXES lib/inotify) +#find_library(INOTIFY_LIBRARY inotify PATH_SUFFIXES lib/inotify) get_filename_component(INOTIFY_LIBRARY_DIR ${INOTIFY_LIBRARY} PATH) mark_as_advanced(INOTIFY_LIBRARY_DIR) @@ -21,10 +21,10 @@ # all listed variables are TRUE # handle the QUIETLY and REQUIRED arguments and set INOTIFY_FOUND to TRUE if include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(INOTIFY DEFAULT_MSG INOTIFY_INCLUDE_DIR INOTIFY_LIBRARY_DIR) +find_package_handle_standard_args(INOTIFY DEFAULT_MSG INOTIFY_INCLUDE_DIR) -IF(INOTIFY_FOUND) +#IF(INOTIFY_FOUND) SET(INotify_INCLUDE_DIRS ${INOTIFY_INCLUDE_DIR}) - SET(INotify_LIBRARY_DIRS ${INOTIFY_LIBRARY_DIR}) -ENDIF(INOTIFY_FOUND) +# SET(INotify_LIBRARY_DIRS "") +#ENDIF(INOTIFY_FOUND)