build, msvc: Enable libqrencode vcpkg package

This commit is contained in:
Hennadii Stepanov 2024-10-28 14:09:12 +00:00
parent 30089b0cb6
commit 9e5089dbb0
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F
3 changed files with 5 additions and 8 deletions

View File

@ -15,8 +15,7 @@
"toolchainFile": "$env{VCPKG_ROOT}\\scripts\\buildsystems\\vcpkg.cmake",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows",
"BUILD_GUI": "ON",
"WITH_QRENCODE": "OFF"
"BUILD_GUI": "ON"
}
},
{
@ -32,8 +31,7 @@
"toolchainFile": "$env{VCPKG_ROOT}\\scripts\\buildsystems\\vcpkg.cmake",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows-static",
"BUILD_GUI": "ON",
"WITH_QRENCODE": "OFF"
"BUILD_GUI": "ON"
}
},
{

View File

@ -42,9 +42,7 @@ Available presets can be listed as follows:
cmake --list-presets
```
By default, all presets:
- Set `BUILD_GUI` to `ON`.
- Set `WITH_QRENCODE` to `OFF`, due to known build issues when using vcpkg's `libqrencode` package.
By default, all presets set `BUILD_GUI` to `ON`.
## Building

View File

@ -25,7 +25,8 @@
"description": "Build GUI, Qt 5",
"dependencies": [
"qt5-base",
"qt5-tools"
"qt5-tools",
"libqrencode"
]
},
"sqlite": {