diff --git a/frontends/sdl/Cargo.toml b/frontends/sdl/Cargo.toml index d762d0807012fc37495fef8fbc43c9ee729a7a3b..bf9b641bc614809c1e7db4c1b1b2dd74aaf125b6 100644 --- a/frontends/sdl/Cargo.toml +++ b/frontends/sdl/Cargo.toml @@ -14,6 +14,10 @@ path = "../.." version = "0.35" features = ["ttf", "image", "gfx", "mixer", "static-link", "use-vcpkg"] +# If the vcpkg version of SDL2 does not work (eg: display not found error) +# then try dynamic linking SDL2 using the following features +# features = ["ttf", "image", "gfx", "mixer", "bundled"] + [package.metadata.vcpkg] dependencies = ["sdl2", "sdl2-image[libjpeg-turbo,tiff,libwebp]", "sdl2-ttf", "sdl2-gfx", "sdl2-mixer"] git = "https://github.com/microsoft/vcpkg"