mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 11:27:28 -03:00
build, msvc: Enable libqrencode
vcpkg package
This commit is contained in:
parent
30089b0cb6
commit
9e5089dbb0
3 changed files with 5 additions and 8 deletions
|
@ -15,8 +15,7 @@
|
||||||
"toolchainFile": "$env{VCPKG_ROOT}\\scripts\\buildsystems\\vcpkg.cmake",
|
"toolchainFile": "$env{VCPKG_ROOT}\\scripts\\buildsystems\\vcpkg.cmake",
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"VCPKG_TARGET_TRIPLET": "x64-windows",
|
"VCPKG_TARGET_TRIPLET": "x64-windows",
|
||||||
"BUILD_GUI": "ON",
|
"BUILD_GUI": "ON"
|
||||||
"WITH_QRENCODE": "OFF"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -32,8 +31,7 @@
|
||||||
"toolchainFile": "$env{VCPKG_ROOT}\\scripts\\buildsystems\\vcpkg.cmake",
|
"toolchainFile": "$env{VCPKG_ROOT}\\scripts\\buildsystems\\vcpkg.cmake",
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"VCPKG_TARGET_TRIPLET": "x64-windows-static",
|
"VCPKG_TARGET_TRIPLET": "x64-windows-static",
|
||||||
"BUILD_GUI": "ON",
|
"BUILD_GUI": "ON"
|
||||||
"WITH_QRENCODE": "OFF"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -42,9 +42,7 @@ Available presets can be listed as follows:
|
||||||
cmake --list-presets
|
cmake --list-presets
|
||||||
```
|
```
|
||||||
|
|
||||||
By default, all presets:
|
By default, all presets set `BUILD_GUI` to `ON`.
|
||||||
- Set `BUILD_GUI` to `ON`.
|
|
||||||
- Set `WITH_QRENCODE` to `OFF`, due to known build issues when using vcpkg's `libqrencode` package.
|
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,8 @@
|
||||||
"description": "Build GUI, Qt 5",
|
"description": "Build GUI, Qt 5",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"qt5-base",
|
"qt5-base",
|
||||||
"qt5-tools"
|
"qt5-tools",
|
||||||
|
"libqrencode"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"sqlite": {
|
"sqlite": {
|
||||||
|
|
Loading…
Reference in a new issue