build, msvc: Enable libqrencode vcpkg package

This commit is contained in:
Hennadii Stepanov committed 2024-11-05 16:38:56 +00:00
1 parent 30089b0cb6
commit 9e5089dbb0
3 files changed
+5 -8

No files matched your search

+2 -4
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"
}
},
{
+1 -3
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
+2 -1
View File
@@ -25,7 +25,8 @@
"description": "Build GUI, Qt 5",
"dependencies": [
"qt5-base",
"qt5-tools"
"qt5-tools",
"libqrencode"
]
},
"sqlite": {