projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0da6184
)
Fix build with old cmake
author
Olivier Goffart
<ogoffart@woboq.com>
Fri, 14 Aug 2015 12:21:40 +0000
(14:21 +0200)
committer
Olivier Goffart
<ogoffart@woboq.com>
Fri, 14 Aug 2015 12:21:40 +0000
(14:21 +0200)
DIRECOTRY is new in 2.8.12.
Uses PATH instead
cmake/modules/FindINotify.cmake
patch
|
blob
|
history
diff --git
a/cmake/modules/FindINotify.cmake
b/cmake/modules/FindINotify.cmake
index 19f43aa70cb74657397a195b57c729138f1d0a6f..d57a49fa7e7ea2287a493a70516c1ee008c5b1e5 100644
(file)
--- a/
cmake/modules/FindINotify.cmake
+++ b/
cmake/modules/FindINotify.cmake
@@
-15,7
+15,7
@@
mark_as_advanced(INOTIFY_INCLUDE_DIR)
find_library(INOTIFY_LIBRARY inotify PATH_SUFFIXES lib/inotify)
-get_filename_component(INOTIFY_LIBRARY_DIR ${INOTIFY_LIBRARY}
DIRECTORY
)
+get_filename_component(INOTIFY_LIBRARY_DIR ${INOTIFY_LIBRARY}
PATH
)
mark_as_advanced(INOTIFY_LIBRARY_DIR)
# all listed variables are TRUE