[Pkg-owncloud-commits] [owncloud-client] 32/211: Fix the build with clang and Qt4

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Oct 25 09:10:23 UTC 2014


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 b20752f13eb1c2e14bcab5d1e89c1e34ef052c00
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Thu Oct 9 17:54:23 2014 +0200

    Fix the build with clang and Qt4
---
 cmake/modules/QtVersionAbstraction.cmake | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cmake/modules/QtVersionAbstraction.cmake b/cmake/modules/QtVersionAbstraction.cmake
index ab6b77a..957d792 100644
--- a/cmake/modules/QtVersionAbstraction.cmake
+++ b/cmake/modules/QtVersionAbstraction.cmake
@@ -161,6 +161,8 @@ if(NOT Qt5Core_FOUND)
         else()
             add_definitions("-DQ_DECL_OVERRIDE=")
         endif()
+    else() #clang or others
+        add_definitions("-DQ_DECL_OVERRIDE=override")
     endif()
 
 endif()

-- 
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