From 887bdc5e7331268896530ef6762c8c412e4738b8 Mon Sep 17 00:00:00 2001 From: Amir Masoud Abdol Date: Fri, 28 Oct 2022 11:44:25 +0200 Subject: [PATCH] FEATURE_pkg_config Should be BOOL It might not matter as far as I understand, but having it saved as BOOL is better if it's a boolean. Change-Id: If35485425257ca5518f0f8a49ca5353b9ac875a8 Reviewed-by: Alexandru Croitor --- cmake/QtPostProcessHelpers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/QtPostProcessHelpers.cmake b/cmake/QtPostProcessHelpers.cmake index 0ca6bdbfa92..75dab981068 100644 --- a/cmake/QtPostProcessHelpers.cmake +++ b/cmake/QtPostProcessHelpers.cmake @@ -696,7 +696,7 @@ endif()\n") # find_package(Qt6Core) is called in case if the feature was disabled. string(APPEND QT_EXTRA_BUILD_INTERNALS_VARS " if(NOT QT_SKIP_BUILD_INTERNALS_PKG_CONFIG_FEATURE) - set(FEATURE_pkg_config \"${FEATURE_pkg_config}\" CACHE STRING \"Using pkg-config\" FORCE) + set(FEATURE_pkg_config \"${FEATURE_pkg_config}\" CACHE BOOL \"Using pkg-config\" FORCE) endif()\n") # The OpenSSL root dir needs to be saved so that repos other than qtbase (like qtopcua) can