From f1f5c5ce2815d12f1ed966d50a4fca7dc6cca02b Mon Sep 17 00:00:00 2001 From: Amir Masoud Abdol Date: Fri, 9 Jun 2023 10:33:38 +0200 Subject: [PATCH] Fix the issue with setting the QT_BUILDING_QT `TYPE` argument is not a thing, and if it is there, QT_BUILDING_QT is set to `TRUE;CACHE;TYPE;STRING;When this is present and set to true, it signals that we are building Qt from source.` instead of `TRUE`. Change-Id: I24784e9aead4929d408d06bce72d3f33ee21eb63 Reviewed-by: Alexandru Croitor (cherry picked from commit 5d12d9846a9436b4ef4e1f8ac42d081d60568ecf) Reviewed-by: Qt Cherry-pick Bot --- cmake/QtSetup.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/QtSetup.cmake b/cmake/QtSetup.cmake index a8cbbd13869..34137b65702 100644 --- a/cmake/QtSetup.cmake +++ b/cmake/QtSetup.cmake @@ -2,8 +2,8 @@ # Set the QT_IS_BUILDING_QT variable so we can verify whether we are building # Qt from source -set(QT_BUILDING_QT TRUE CACHE - TYPE STRING "When this is present and set to true, it signals that we are building Qt from source.") +set(QT_BUILDING_QT TRUE CACHE BOOL + "When this is present and set to true, it signals that we are building Qt from source.") # Pre-calculate the developer_build feature if it's set by the user via INPUT_developer_build if(NOT FEATURE_developer_build AND INPUT_developer_build