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 <alexandru.croitor@qt.io>
This commit is contained in:
Amir Masoud Abdol 2022-10-28 11:44:25 +02:00
parent f2d7e31bae
commit 887bdc5e73

View File

@ -696,7 +696,7 @@ endif()\n")
# find_package(Qt6Core) is called in case if the feature was disabled. # find_package(Qt6Core) is called in case if the feature was disabled.
string(APPEND QT_EXTRA_BUILD_INTERNALS_VARS " string(APPEND QT_EXTRA_BUILD_INTERNALS_VARS "
if(NOT QT_SKIP_BUILD_INTERNALS_PKG_CONFIG_FEATURE) 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") endif()\n")
# The OpenSSL root dir needs to be saved so that repos other than qtbase (like qtopcua) can # The OpenSSL root dir needs to be saved so that repos other than qtbase (like qtopcua) can