diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2014-10-09 19:54:23 +0400 |
---|---|---|
committer | Olivier Goffart <ogoffart@woboq.com> | 2014-10-09 19:54:46 +0400 |
commit | b20752f13eb1c2e14bcab5d1e89c1e34ef052c00 (patch) | |
tree | 84491a4a8e2ccfe6c3822487889780d06a86dc2a /cmake/modules | |
parent | 61967f6e1bf5ded8ee2e17888765555d7b6b3d1c (diff) |
Fix the build with clang and Qt4
Diffstat (limited to 'cmake/modules')
-rw-r--r-- | cmake/modules/QtVersionAbstraction.cmake | 2 |
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() |