1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-21 05:02:45 +00:00

Remove SDL_image link hack

This commit is contained in:
Alula 2024-08-28 22:16:36 +02:00
parent 3799ec5750
commit 83ba76a5ae
No known key found for this signature in database
GPG key ID: 3E00485503A1D8BA

View file

@ -96,10 +96,6 @@ wgpu = { git = "https://github.com/gfx-rs/wgpu.git", rev = "aadca17885e60ee4527d
winit = { version = "0.30.2", optional = true, default-features = false, features = ["x11"] }
xmltree = "0.10"
#hack to not link SDL_image on Windows(causes a linker error)
[target.'cfg(not(target_os = "windows"))'.dependencies]
sdl2 = { version = "0.37", optional = true, features = ["image", "unsafe_textures", "bundled", "static-link", "raw-window-handle", "use-bindgen"] }
[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "0.3", features = ["winuser"] }