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

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2015-08-14 15:21:40 +0300
committerOlivier Goffart <ogoffart@woboq.com>2015-08-14 15:21:40 +0300
commitbfb637e64dff2e3a9b6b83e0312eff5c313c2968 (patch)
tree79663b6144994c4740ed16625eafe05486ab92ee /cmake
parent0da6184f8487f5647114f0571b63c5508434377b (diff)
Fix build with old cmake
DIRECOTRY is new in 2.8.12. Uses PATH instead
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindINotify.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindINotify.cmake b/cmake/modules/FindINotify.cmake
index 19f43aa70..d57a49fa7 100644
--- 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