diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-06-29 18:56:08 +0300 |
---|---|---|
committer | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-06-30 11:28:02 +0300 |
commit | f6ef04addfceee0ee3acbebb143aeb58d2ab132d (patch) | |
tree | d0e191e622422565bba06caa8b2ab0182de0336c /CMakeLists.txt | |
parent | 06f28a74433a461c5796765f08ade0491b4e1781 (diff) |
Dont use Q_FOREACHwork/no_q_forach
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9861aa6..43fa720 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,9 @@ option(ENABLE_GPL_CODE "Enable GPL-licensed depencencies of libcrashreporter-qt option(ENABLE_CRASH_REPORTER "Enable libcrashreporter-qt GUI component" ON) find_package(Qt5 COMPONENTS Core Network Widgets) +add_definitions( + -DQT_NO_FOREACH +) if((CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_FLAGS) OR (UNIX AND NOT APPLE AND CMAKE_CXX_COMPILER_ID MATCHES "Clang")) |