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
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2014-10-09 19:54:23 +0400
committerOlivier Goffart <ogoffart@woboq.com>2014-10-09 19:54:46 +0400
commitb20752f13eb1c2e14bcab5d1e89c1e34ef052c00 (patch)
tree84491a4a8e2ccfe6c3822487889780d06a86dc2a /cmake/modules
parent61967f6e1bf5ded8ee2e17888765555d7b6b3d1c (diff)
Fix the build with clang and Qt4
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/QtVersionAbstraction.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/QtVersionAbstraction.cmake b/cmake/modules/QtVersionAbstraction.cmake
index ab6b77ae3..957d792db 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()