Make Metal dependencies in the demo Mac-only
This commit is contained in:
parent
487577a11b
commit
71623eaab3
|
@ -31,9 +31,6 @@ path = "../../gl"
|
|||
[dependencies.pathfinder_gpu]
|
||||
path = "../../gpu"
|
||||
|
||||
[dependencies.pathfinder_metal]
|
||||
path = "../../metal"
|
||||
|
||||
[dependencies.pathfinder_renderer]
|
||||
path = "../../renderer"
|
||||
|
||||
|
@ -48,3 +45,6 @@ path = "../../ui"
|
|||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
metal = "0.14"
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies.pathfinder_metal]
|
||||
path = "../../metal"
|
||||
|
|
|
@ -28,9 +28,6 @@ path = "../../gl"
|
|||
[dependencies.pathfinder_gpu]
|
||||
path = "../../gpu"
|
||||
|
||||
[dependencies.pathfinder_metal]
|
||||
path = "../../metal"
|
||||
|
||||
[dependencies.pathfinder_simd]
|
||||
path = "../../simd"
|
||||
|
||||
|
@ -38,5 +35,8 @@ path = "../../simd"
|
|||
foreign-types = "0.3"
|
||||
metal = "0.14"
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies.pathfinder_metal]
|
||||
path = "../../metal"
|
||||
|
||||
[target.'cfg(not(windows))'.dependencies]
|
||||
jemallocator = "0.1"
|
||||
|
|
Loading…
Reference in New Issue