Skip to content

Commit c9baf41

Browse files
committed
build, msvc: Enable libqrencode vcpkg package
1 parent 1540ec7 commit c9baf41

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

CMakePresets.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
"toolchainFile": "$env{VCPKG_ROOT}\\scripts\\buildsystems\\vcpkg.cmake",
1616
"cacheVariables": {
1717
"VCPKG_TARGET_TRIPLET": "x64-windows",
18-
"BUILD_GUI": "ON",
19-
"WITH_QRENCODE": "OFF"
18+
"BUILD_GUI": "ON"
2019
}
2120
},
2221
{
@@ -32,8 +31,7 @@
3231
"toolchainFile": "$env{VCPKG_ROOT}\\scripts\\buildsystems\\vcpkg.cmake",
3332
"cacheVariables": {
3433
"VCPKG_TARGET_TRIPLET": "x64-windows-static",
35-
"BUILD_GUI": "ON",
36-
"WITH_QRENCODE": "OFF"
34+
"BUILD_GUI": "ON"
3735
}
3836
},
3937
{

vcpkg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
},
4141
"qt5": {
4242
"description": "Build GUI, Qt 5",
43-
"dependencies": [ "qt5-base", "qt5-tools" ]
43+
"dependencies": [ "qt5-base", "qt5-tools", "libqrencode" ]
4444
}
4545
}
4646
}

0 commit comments

Comments
 (0)