Closed Suraj-Yadav closed 2 months ago
This issue has been fixed in upstream PR 31709, I need to update the version in vcpkg to fix this issue.
I encounter the same issue when building SDL2. I tried to disable the "dbus" feature but it still tries to build it. Any ideas what is wrong here:?
"opus",
{
"name": "sdl2",
"default-features": false
},
Is it possible somehow to disable SystemD / DBus for SDL2 in manifest mode?
@feliwir You are almost there. The libsystemd
dependency is from dbus
feature systemd
. So you want:
{
"name": "dbus",
"default-features": false
},
Demo:
$ ./vcpkg depend-info sdl2 dbus[core]
vcpkg-cmake:
vcpkg-cmake-config:
expat: vcpkg-cmake, vcpkg-cmake-config
dbus: expat, vcpkg-cmake, vcpkg-cmake-config
sdl2[x11, wayland, ibus]: dbus, vcpkg-cmake, vcpkg-cmake-config
Package: libsystemd:x64-linux@255#2
Host Environment
To Reproduce
vcpkg install
Failure logs
Please find the logs in attached files. config-x64-linux-dbg-meson-log.txt.log config-x64-linux-dbg-out.log
Additional context
vcpkg.json
``` { "name": "test", "dependencies": [ "wxwidgets" ] } ```