From 6fb81a2c148412278512baa923dd14b43b4f656e Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Tue, 6 Oct 2020 14:32:47 +0200 Subject: [PATCH] CMake: Remove leftover debug output Amends 07b6d3367debd8f15974abf0f5cdf48f0fe3a536 Change-Id: I8d5922af13903c6a10f967035bca70a89b19f86f Reviewed-by: Joerg Bornemann --- cmake/QtFlagHandlingHelpers.cmake | 1 - src/corelib/CMakeLists.txt | 2 -- src/gui/CMakeLists.txt | 2 -- 3 files changed, 5 deletions(-) diff --git a/cmake/QtFlagHandlingHelpers.cmake b/cmake/QtFlagHandlingHelpers.cmake index b65bee2df6..8b2677aa3d 100644 --- a/cmake/QtFlagHandlingHelpers.cmake +++ b/cmake/QtFlagHandlingHelpers.cmake @@ -750,7 +750,6 @@ function(qt_internal_set_up_config_optimizations_like_in_qmake) qt_internal_get_target_link_types_for_flag_manipulation(target_link_types) # You can set QT_DEBUG_OPTIMIZATION_FLAGS to see the before and after results. - set(QT_DEBUG_OPTIMIZATION_FLAGS TRUE) if(QT_DEBUG_OPTIMIZATION_FLAGS) message(STATUS "") message(STATUS "DEBUG: Original CMake optimization flags.\n") diff --git a/src/corelib/CMakeLists.txt b/src/corelib/CMakeLists.txt index 802aa274f5..b6802a6fb5 100644 --- a/src/corelib/CMakeLists.txt +++ b/src/corelib/CMakeLists.txt @@ -1333,8 +1333,6 @@ if(NOT QT_FEATURE_system_zlib) ) endif() -qt_internal_print_optimization_flags_values() qt_internal_add_optimize_full_flags(IN_CURRENT_SCOPE) -qt_internal_print_optimization_flags_values() # special case end diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 661a887dc8..4633c6e00e 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -1029,7 +1029,5 @@ qt_internal_add_docs(Gui ) # special case begin -qt_internal_print_optimization_flags_values() qt_internal_add_optimize_full_flags(IN_CURRENT_SCOPE) -qt_internal_print_optimization_flags_values() # special case end