Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorDaniel Molkentin <danimo@owncloud.com>2012-12-04 20:36:06 +0400
committerDaniel Molkentin <danimo@owncloud.com>2012-12-04 20:48:14 +0400
commit8f9ad524c26fdcbc732b3e0d858ffc6b5f6ebebc (patch)
tree01ae3031cdc4e6253a1605a18273c37a7e6dfed3 /cmake
parent5d958a4c0715276a87f7b3bbaa4387c3e49bec95 (diff)
Find inotify on multiarch debian/ubuntu
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindINotify.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/modules/FindINotify.cmake b/cmake/modules/FindINotify.cmake
index 31c2479ca..dd5dd1b16 100644
--- a/cmake/modules/FindINotify.cmake
+++ b/cmake/modules/FindINotify.cmake
@@ -4,12 +4,12 @@
# also defined, but not for general use are
# INOTIFY_LIBRARY, where to find the inotify library.
-find_path(INOTIFY_INCLUDE_DIR sys/inotify.h)
+find_path(INOTIFY_INCLUDE_DIR sys/inotify.h
+ HINTS /usr/include/${CMAKE_LIBRARY_ARCHITECTURE})
mark_as_advanced(INOTIFY_INCLUDE_DIR)
-
-# handle the QUIETLY and REQUIRED arguments and set INOTIFY_FOUND to TRUE if
# 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)