From 5dfe5987c9e0b03b910d493bed575757903905cf Mon Sep 17 00:00:00 2001 From: Eugene Gorodinsky Date: Fri, 3 Jun 2016 13:40:16 +0300 Subject: [PATCH] fixes #982 --- Cargo.toml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index cae0ce659e3..6bd488cb8a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,19 +24,11 @@ gfx_device_gl = { path = "src/backend/gl", version = "0.10" } gfx_window_glutin = { path = "src/window/glutin", version = "0.11" } gfx = { path = "src/render", version = "0.11" } -[target.x86_64-unknown-linux-gnu.dependencies] +[target.'cfg(unix)'.dependencies] gfx_window_glfw = { path = "src/window/glfw", version = "0.10" } gfx_window_sdl = { path = "src/window/sdl", version = "0.2" } -[target.x86_64-pc-windows-gnu.dependencies] -gfx_device_dx11 = { path = "src/backend/dx11", version = "0.2" } -gfx_window_dxgi = { path = "src/window/dxgi", version = "0.2" } - -[target.x86_64-pc-windows-msvc.dependencies] -gfx_device_dx11 = { path = "src/backend/dx11", version = "0.2" } -gfx_window_dxgi = { path = "src/window/dxgi", version = "0.2" } - -[target.i686-pc-windows-msvc.dependencies] +[target.'cfg(windows)'.dependencies] gfx_device_dx11 = { path = "src/backend/dx11", version = "0.2" } gfx_window_dxgi = { path = "src/window/dxgi", version = "0.2" }