From 931a12d22272abc33e48d406cd1edb17a84bb235 Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Tue, 3 Dec 2019 22:01:57 -0500 Subject: [PATCH] Add QT_NO_FOREACH now that we do not use any foreach --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 25dcd25f..b15b7fc3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,11 +75,9 @@ if(NOT APPLE) endif() set(HAVE_X11 ${X11_FOUND}) -# FIXME: Fix code to allow this -#add_definitions(-DQT_NO_FOREACH) - # See above includes for defaults add_definitions( + -DQT_NO_FOREACH -DQT_STRICT_ITERATORS -DQT_NO_URL_CAST_FROM_STRING )