[Pkg-owncloud-commits] [owncloud-client] 86/120: Fix build with old cmake

Sandro Knauß hefee-guest at moszumanska.debian.org
Mon Aug 24 00:02:49 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit bfb637e64dff2e3a9b6b83e0312eff5c313c2968
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Fri Aug 14 14:21:40 2015 +0200

    Fix build with old cmake
    
    DIRECOTRY is new in 2.8.12.
    Uses PATH instead
---
 cmake/modules/FindINotify.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/modules/FindINotify.cmake b/cmake/modules/FindINotify.cmake
index 19f43aa..d57a49f 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list