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:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-06-15 18:23:44 +0300
committerHannah von Reth <vonreth@kde.org>2021-06-16 17:29:35 +0300
commit5211ff80696190e635fd9f7d77ddaf0074aaa569 (patch)
tree5c240fbbeb07f003826837a5e97af89c7c278ca3 /CMakeLists.txt
parent7a0f37d04147df7c09540cb2fa49e3083f3c35b9 (diff)
Don't let Qt define foreach
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3dc98538d..ecc23480a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -70,6 +70,7 @@ add_definitions(
-DQT_USE_QSTRINGBUILDER
-DQT_MESSAGELOGCONTEXT #enable function name and line number in debug output
-DQT_DEPRECATED_WARNINGS
+ -DQT_NO_FOREACH
)
# if we cannot get it from git, directly try .tag (packages)