diff options
author | Daniel Molkentin <danimo@owncloud.com> | 2012-12-04 20:36:06 +0400 |
---|---|---|
committer | Daniel Molkentin <danimo@owncloud.com> | 2012-12-04 20:48:14 +0400 |
commit | 8f9ad524c26fdcbc732b3e0d858ffc6b5f6ebebc (patch) | |
tree | 01ae3031cdc4e6253a1605a18273c37a7e6dfed3 /cmake | |
parent | 5d958a4c0715276a87f7b3bbaa4387c3e49bec95 (diff) |
Find inotify on multiarch debian/ubuntu
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/FindINotify.cmake | 6 |
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) |