Disable vcpkg detection/integration by default
We should not automatically enable vcpkg as soon as we find it on the system. With this change, we disable the automatic detection/integration. [ChangeLog][configure] Vcpkg detection/integration is now disabled by default, and it can be enabled by either passing `-vcpkg` to the configure script, or by passing `-DQT_USE_VCPKG=ON` to cmake. Change-Id: I4f098db670f11373064c071f1c3204e2e183d3db Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
25f5983ea8
commit
70fc6b4581
@ -9,7 +9,7 @@
|
||||
# done when initially configuring qtbase.
|
||||
|
||||
# This needs to be here because QtAutoDetect loads before any other modules
|
||||
option(QT_USE_VCPKG "Enable the use of vcpkg" ON)
|
||||
option(QT_USE_VCPKG "Enable the use of vcpkg" OFF)
|
||||
|
||||
function(qt_internal_ensure_static_qt_config)
|
||||
if(NOT DEFINED BUILD_SHARED_LIBS)
|
||||
|
@ -76,7 +76,7 @@ The following table describes the mapping of configure options to CMake argument
|
||||
| -unity-build-batch-size <int> | -DQT_UNITY_BUILD_BATCH_SIZE=<int> | |
|
||||
| -warnings-are-errors | -DWARNINGS_ARE_ERRORS=ON | |
|
||||
| -no-pkg-config | -DFEATURE_pkg_config=OFF | |
|
||||
| -no-vcpkg | -DQT_USE_VCPKG=OFF | |
|
||||
| -vcpkg | -DQT_USE_VCPKG=ON | |
|
||||
| -D <string> | -DQT_EXTRA_DEFINES=<string1>;<string2> | |
|
||||
| -I <string> | -DQT_EXTRA_INCLUDEPATHS=<string1>;<string2> | |
|
||||
| -L <string> | -DQT_EXTRA_LIBDIRS=<string1>;<string2> | |
|
||||
|
@ -162,7 +162,7 @@ Build environment:
|
||||
|
||||
-pkg-config .......... Use pkg-config [auto] (Unix only)
|
||||
|
||||
-vcpkg ............... Use vcpkg [yes]
|
||||
-vcpkg ............... Use vcpkg [no]
|
||||
|
||||
-D <string> .......... Pass additional preprocessor define
|
||||
-I <string> .......... Pass additional include path
|
||||
|
Loading…
Reference in New Issue
Block a user