specify sdl2 dep with non-windows and windows for build differences
may need to be fine-tuned still, as i've not done very thorough testing on all platforms as of yet, but this will get things started at least
This commit is contained in:
parent
b010c044ef
commit
2a2d8533bc
|
@ -10,7 +10,6 @@ low_res = []
|
||||||
wide = []
|
wide = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2/", rev = "819ab438ac971a922d6ee1da558822002d343b4e", features = ["static-link", "bundled", "use-pkgconfig", "unsafe_textures"] }
|
|
||||||
byte-slice-cast = "1.2.1"
|
byte-slice-cast = "1.2.1"
|
||||||
byteorder = "1.4.3"
|
byteorder = "1.4.3"
|
||||||
thiserror = "=1.0.30"
|
thiserror = "=1.0.30"
|
||||||
|
@ -18,6 +17,12 @@ rand = "0.8.5"
|
||||||
num-traits = "0.2.14"
|
num-traits = "0.2.14"
|
||||||
bitflags = "1.3"
|
bitflags = "1.3"
|
||||||
|
|
||||||
|
[target.'cfg(not(windows))'.dependencies]
|
||||||
|
sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2/", rev = "819ab438ac971a922d6ee1da558822002d343b4e", features = ["static-link", "bundled", "use-pkgconfig", "unsafe_textures"] }
|
||||||
|
|
||||||
|
[target.'cfg(windows)'.dependencies]
|
||||||
|
sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2/", rev = "819ab438ac971a922d6ee1da558822002d343b4e", features = ["unsafe_textures"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
claim = "0.5.0"
|
claim = "0.5.0"
|
||||||
criterion = "0.3.5"
|
criterion = "0.3.5"
|
||||||
|
|
Loading…
Reference in a new issue